home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 March / macformat-048.iso / Shareware Plus / Applications / StoryProject ƒ / StoryProject < prev   
MacOS Executable  |  1996-11-29  |  854.0 KB  |  [APPL/SkPd]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacOS Executable (executable/macOSExecutable).

You can browse this item here: StoryProject

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Executable (executable/macOSExecutable) magic Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Fri Nov 29 12:48:30 1996, modified Fri Nov 29 13:23:09 1996, creator 'SkPd', type application, 57344 bytes "StoryProject" , at 0xe080 816969 bytes resource default (weak)
99% file data default
74% TrID Macintosh Application (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[APPL]
macFileCreator[SkPd]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 53 74 6f 72 79 50 | 72 6f 6a 65 63 74 00 00 |..StoryP|roject..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 41 50 50 4c 53 6b 50 | 64 01 00 00 00 00 00 00 |.APPLSkP|d.......|
|00000050| 00 00 00 00 00 e0 00 00 | 0c 77 49 ae c4 d2 6e ae |........|.wI...n.|
|00000060| c4 da 8d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e7 7c 00 00 |........|.....|..|
|00000080| 00 00 66 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..f.STAK|........|
|00000090| 00 00 00 0a 00 00 e0 00 | 00 00 66 00 00 00 00 00 |........|..f.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a 39 00 00 00 02 |........|...9....|
|000000b0| 00 00 10 2f 00 00 08 fe | 00 00 00 01 00 00 07 20 |.../....|....... |
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 50 00 00 00 |........|....P...|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 20 80 00 01 00 80 00 | 01 00 80 00 01 00 80 00 |. ......|........|
|000000f0| a1 62 86 46 00 00 00 00 | 00 2a 00 40 01 72 02 20 |.b.F....|.*.@.r. |
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d a8 00 00 0c ce | 01 48 01 e0 00 00 00 00 |........|.H......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 d8 c0 00 00 07 20 | 00 00 00 00 00 00 00 00 |....... |........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 20 41 43 5f 54 | 72 61 6e 73 69 74 69 6f |on AC_T|ransitio|
|00000690| 6e 73 0d 65 6e 64 20 41 | 43 5f 54 72 61 6e 73 69 |ns.end A|C_Transi|
|000006a0| 74 69 6f 6e 73 0d 0d 6f | 6e 20 20 41 43 5f 53 65 |tions..o|n AC_Se|
|000006b0| 74 54 72 61 6e 73 69 74 | 69 6f 6e 73 0d 65 6e 64 |tTransit|ions.end|
|000006c0| 20 41 43 5f 53 65 74 54 | 72 61 6e 73 69 74 69 6f | AC_SetT|ransitio|
|000006d0| 6e 73 0d 0d 0d 2d 2d 20 | 2a 2a 2a 2a 2a 2a 20 73 |ns...-- |****** s|
|000006e0| 74 61 72 74 75 70 20 2a | 2a 2a 2a 2a 2a 0d 0d 6f |tartup *|*****..o|
|000006f0| 6e 20 61 62 6f 75 74 44 | 69 61 6c 6f 67 0d 41 62 |n aboutD|ialog.Ab|
|00000700| 6f 75 74 42 6f 78 53 63 | 72 6f 6c 6c 0d 65 6e 64 |outBoxSc|roll.end|
|00000710| 20 61 62 6f 75 74 44 69 | 61 6c 6f 67 0d 0d 6f 6e | aboutDi|alog..on|
|00000720| 20 6f 70 65 6e 53 74 61 | 63 6b 0d 6c 6f 63 6b 20 | openSta|ck.lock |
|00000730| 73 63 72 65 65 6e 0d 73 | 65 74 20 62 6c 69 6e 64 |screen.s|et blind|
|00000740| 54 79 70 69 6e 67 20 74 | 6f 20 66 61 6c 73 65 0d |Typing t|o false.|
|00000750| 73 65 74 20 74 68 65 20 | 6c 6f 63 61 74 69 6f 6e |set the |location|
|00000760| 20 6f 66 20 6d 65 73 73 | 61 67 65 20 74 6f 20 39 | of mess|age to 9|
|00000770| 30 30 30 2c 39 30 30 30 | 0d 0d 2d 2d 20 73 65 74 |000,9000|..-- set|
|00000780| 20 75 70 20 74 68 65 20 | 6d 65 6e 75 73 20 61 6e | up the |menus an|
|00000790| 64 20 74 68 65 20 73 74 | 79 6c 69 6e 67 0d 67 6f |d the st|yling.go|
|000007a0| 20 63 64 20 32 20 6f 66 | 20 74 68 69 73 20 73 74 | cd 2 of| this st|
|000007b0| 61 63 6b 0d 73 65 74 20 | 73 68 6f 77 50 69 63 74 |ack.set |showPict|
|000007c0| 20 6f 66 20 74 68 69 73 | 20 62 67 20 74 6f 20 74 | of this| bg to t|
|000007d0| 72 75 65 0d 0d 68 69 64 | 65 20 62 67 20 66 69 65 |rue..hid|e bg fie|
|000007e0| 6c 64 20 22 43 68 61 72 | 61 63 74 65 72 73 22 0d |ld "Char|acters".|
|000007f0| 73 68 6f 77 20 67 72 6f | 75 70 73 0d 73 65 74 20 |show gro|ups.set |
|00000800| 74 68 65 20 73 63 72 6f | 6c 6c 20 6f 66 20 63 64 |the scro|ll of cd|
|00000810| 20 66 69 65 6c 64 20 38 | 20 74 6f 20 30 0d 68 69 | field 8| to 0.hi|
|00000820| 64 65 20 63 64 20 66 69 | 65 6c 64 20 38 0d 73 68 |de cd fi|eld 8.sh|
|00000830| 6f 77 4c 6f 67 20 22 41 | 6c 6c 22 2c 20 31 0d 0d |owLog "A|ll", 1..|
|00000840| 66 69 78 4d 79 4d 65 6e | 75 73 0d 64 6f 46 6f 6e |fixMyMen|us.doFon|
|00000850| 74 53 74 79 6c 65 53 69 | 7a 65 0d 0d 2d 2d 20 69 |tStyleSi|ze..-- i|
|00000860| 66 20 62 75 74 74 6f 6e | 73 20 61 72 65 20 64 69 |f button|s are di|
|00000870| 73 61 62 6c 65 64 2c 20 | 74 75 72 6e 20 6d 6f 76 |sabled, |turn mov|
|00000880| 69 6e 67 20 6f 66 66 20 | 6a 75 73 74 20 69 6e 20 |ing off |just in |
|00000890| 63 61 73 65 20 74 68 65 | 20 6d 6f 76 65 73 20 68 |case the| moves h|
|000008a0| 61 76 65 6e 27 74 20 62 | 65 65 6e 20 73 6f 72 74 |aven't b|een sort|
|000008b0| 65 64 0d 67 6c 6f 62 61 | 6c 20 6d 6f 76 65 42 65 |ed.globa|l moveBe|
|000008c0| 65 6e 4d 61 64 65 2c 20 | 74 68 65 4d 6f 76 65 53 |enMade, |theMoveS|
|000008d0| 63 72 6f 6c 6c 0d 70 75 | 74 20 66 61 6c 73 65 20 |croll.pu|t false |
|000008e0| 69 6e 74 6f 20 6d 6f 76 | 65 42 65 65 6e 4d 61 64 |into mov|eBeenMad|
|000008f0| 65 0d 69 66 20 74 68 65 | 20 65 6e 61 62 6c 65 64 |e.if the| enabled|
|00000900| 20 6f 66 20 62 75 74 74 | 6f 6e 20 22 41 63 74 69 | of butt|on "Acti|
|00000910| 76 69 74 79 22 20 69 73 | 20 66 61 6c 73 65 20 74 |vity" is| false t|
|00000920| 68 65 6e 0d 70 75 74 20 | 74 72 75 65 20 69 6e 74 |hen.put |true int|
|00000930| 6f 20 6d 6f 76 65 42 65 | 65 6e 4d 61 64 65 0d 70 |o moveBe|enMade.p|
|00000940| 75 74 20 30 20 69 6e 74 | 6f 20 74 68 65 4d 6f 76 |ut 0 int|o theMov|
|00000950| 65 53 63 72 6f 6c 6c 0d | 6d 6f 76 69 6e 67 4f 66 |eScroll.|movingOf|
|00000960| 66 0d 65 6e 64 20 69 66 | 0d 0d 74 6f 67 67 6c 65 |f.end if|..toggle|
|00000970| 42 75 74 74 6f 6e 73 20 | 74 72 75 65 0d 0d 69 66 |Buttons |true..if|
|00000980| 20 74 68 65 20 68 65 61 | 70 53 70 61 63 65 20 3e | the hea|pSpace >|
|00000990| 20 34 34 30 30 30 30 20 | 74 68 65 6e 0d 73 65 74 | 440000 |then.set|
|000009a0| 20 73 68 6f 77 50 69 63 | 74 20 6f 66 20 74 68 69 | showPic|t of thi|
|000009b0| 73 20 62 67 20 74 6f 20 | 66 61 6c 73 65 0d 41 64 |s bg to |false.Ad|
|000009c0| 64 43 6f 6c 6f 72 20 69 | 6e 73 74 61 6c 6c 0d 41 |dColor i|nstall.A|
|000009d0| 64 64 43 6f 6c 6f 72 20 | 63 6f 6c 6f 72 43 61 72 |ddColor |colorCar|
|000009e0| 64 0d 65 6e 64 20 69 66 | 0d 70 61 73 73 20 6f 70 |d.end if|.pass op|
|000009f0| 65 6e 53 74 61 63 6b 0d | 65 6e 64 20 6f 70 65 6e |enStack.|end open|
|00000a00| 53 74 61 63 6b 0d 0d 6f | 6e 20 63 6c 6f 73 65 53 |Stack..o|n closeS|
|00000a10| 74 61 63 6b 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |tack.loc|k screen|
|00000a20| 0d 69 66 20 6d 65 6e 75 | 49 74 65 6d 20 34 20 6f |.if menu|Item 4 o|
|00000a30| 66 20 6d 65 6e 75 20 22 | 45 64 69 74 22 20 69 73 |f menu "|Edit" is|
|00000a40| 20 6e 6f 74 20 22 54 75 | 72 6e 20 4d 6f 76 69 6e | not "Tu|rn Movin|
|00000a50| 67 20 4f 6e 22 20 74 68 | 65 6e 20 6d 6f 76 69 6e |g On" th|en movin|
|00000a60| 67 4f 66 66 0d 77 61 69 | 74 20 31 0d 64 6f 4d 65 |gOff.wai|t 1.doMe|
|00000a70| 6e 75 20 22 43 6f 6d 70 | 61 63 74 20 53 74 61 63 |nu "Comp|act Stac|
|00000a80| 6b 22 0d 70 61 73 73 20 | 63 6c 6f 73 65 53 74 61 |k".pass |closeSta|
|00000a90| 63 6b 0d 65 6e 64 20 63 | 6c 6f 73 65 53 74 61 63 |ck.end c|loseStac|
|00000aa0| 6b 0d 0d 6f 6e 20 66 69 | 78 4d 79 4d 65 6e 75 73 |k..on fi|xMyMenus|
|00000ab0| 0d 73 65 74 20 6c 6f 63 | 6b 53 63 72 65 65 6e 20 |.set loc|kScreen |
|00000ac0| 74 6f 20 74 72 75 65 0d | 70 75 74 20 22 41 62 6f |to true.|put "Abo|
|00000ad0| 75 74 20 53 74 6f 72 79 | 50 72 6f 6a 65 63 74 c9 |ut Story|Project.|
|00000ae0| 22 20 69 6e 74 6f 20 6d | 65 6e 75 49 74 65 6d 20 |" into m|enuItem |
|00000af0| 31 20 6f 66 20 6d 65 6e | 75 20 22 41 70 70 6c 65 |1 of men|u "Apple|
|00000b00| 22 20 77 69 74 68 20 6d | 65 6e 75 4d 65 73 73 61 |" with m|enuMessa|
|00000b10| 67 65 20 61 62 6f 75 74 | 44 69 61 6c 6f 67 0d 0d |ge about|Dialog..|
|00000b20| 2d 2d 20 46 69 6c 65 20 | 6d 65 6e 75 0d 6c 6f 63 |-- File |menu.loc|
|00000b30| 6b 20 73 63 72 65 65 6e | 0d 64 65 6c 65 74 65 20 |k screen|.delete |
|00000b40| 6d 65 6e 75 20 22 46 69 | 6c 65 22 0d 63 72 65 61 |menu "Fi|le".crea|
|00000b50| 74 65 20 6d 65 6e 75 20 | 22 46 69 6c 65 22 0d 70 |te menu |"File".p|
|00000b60| 75 74 20 22 43 6c 6f 73 | 65 20 43 68 61 72 61 63 |ut "Clos|e Charac|
|00000b70| 74 65 72 2c 45 78 70 6f | 72 74 c9 2c 2d 2c 51 75 |ter,Expo|rt.,-,Qu|
|00000b80| 69 74 22 20 69 6e 74 6f | 20 c2 0d 6d 65 6e 75 20 |it" into| ..menu |
|00000b90| 22 46 69 6c 65 22 20 77 | 69 74 68 c2 0d 6d 65 6e |"File" w|ith..men|
|00000ba0| 75 4d 65 73 73 61 67 65 | 73 20 22 64 6f 43 6c 6f |uMessage|s "doClo|
|00000bb0| 73 65 2c 64 6f 45 78 70 | 6f 72 74 2c 65 6d 70 74 |se,doExp|ort,empt|
|00000bc0| 79 2c 64 6f 51 75 69 74 | 22 0d 0d 2d 2d 20 45 64 |y,doQuit|"..-- Ed|
|00000bd0| 69 74 20 6d 65 6e 75 0d | 6c 6f 63 6b 20 73 63 72 |it menu.|lock scr|
|00000be0| 65 65 6e 0d 64 65 6c 65 | 74 65 20 6d 65 6e 75 20 |een.dele|te menu |
|00000bf0| 22 45 64 69 74 22 0d 63 | 72 65 61 74 65 20 6d 65 |"Edit".c|reate me|
|00000c00| 6e 75 20 22 45 64 69 74 | 22 0d 70 75 74 20 22 55 |nu "Edit|".put "U|
|00000c10| 6e 64 6f 2c 2d 2c 43 6c | 65 61 72 20 41 6c 6c 20 |ndo,-,Cl|ear All |
|00000c20| 45 6e 74 72 69 65 73 c9 | 2c 54 75 72 6e 20 4d 6f |Entries.|,Turn Mo|
|00000c30| 76 69 6e 67 20 4f 6e 2c | 2d 2c 49 6e 66 6f 72 6d |ving On,|-,Inform|
|00000c40| 61 74 69 6f 6e c9 22 20 | c2 0d 69 6e 74 6f 20 6d |ation." |..into m|
|00000c50| 65 6e 75 20 22 45 64 69 | 74 22 20 77 69 74 68 20 |enu "Edi|t" with |
|00000c60| 6d 65 6e 75 4d 65 73 73 | 61 67 65 73 20 22 6d 79 |menuMess|ages "my|
|00000c70| 55 6e 64 6f 2c 2d 2c 43 | 6c 65 61 72 41 6c 6c 45 |Undo,-,C|learAllE|
|00000c80| 6e 74 72 69 65 73 2c 74 | 6f 67 67 6c 65 4d 6f 76 |ntries,t|oggleMov|
|00000c90| 69 6e 67 2c 2c 73 68 6f | 77 49 6e 66 6f 72 6d 61 |ing,,sho|wInforma|
|00000ca0| 74 69 6f 6e 22 0d 0d 2d | 2d 20 47 6f 20 6d 65 6e |tion"..-|- Go men|
|00000cb0| 75 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 64 65 |u.lock s|creen.de|
|00000cc0| 6c 65 74 65 20 6d 65 6e | 75 20 22 47 6f 22 0d 63 |lete men|u "Go".c|
|00000cd0| 72 65 61 74 65 20 6d 65 | 6e 75 20 22 47 6f 22 0d |reate me|nu "Go".|
|00000ce0| 70 75 74 20 22 46 69 6e | 64 c9 2c 46 69 6e 64 20 |put "Fin|d.,Find |
|00000cf0| 41 67 61 69 6e 2c 52 65 | 70 6c 61 63 65 c9 2c 2d |Again,Re|place.,-|
|00000d00| 2c 53 68 6f 77 20 43 68 | 61 72 61 63 74 65 72 c9 |,Show Ch|aracter.|
|00000d10| 2c 53 63 72 6f 6c 6c 22 | 20 69 6e 74 6f 20 6d 65 |,Scroll"| into me|
|00000d20| 6e 75 20 22 47 6f 22 20 | 77 69 74 68 c2 0d 6d 65 |nu "Go" |with..me|
|00000d30| 6e 75 4d 65 73 73 61 67 | 65 73 20 22 6d 79 46 69 |nuMessag|es "myFi|
|00000d40| 6e 64 2c 66 69 6e 64 41 | 67 61 69 6e 2c 6d 79 52 |nd,findA|gain,myR|
|00000d50| 65 70 6c 61 63 65 2c 2c | 73 68 6f 77 43 68 61 72 |eplace,,|showChar|
|00000d60| 61 63 74 65 72 2c 64 6f | 54 68 65 53 63 72 6f 6c |acter,do|TheScrol|
|00000d70| 6c 22 0d 0d 2d 2d 20 46 | 6f 6e 74 20 6d 65 6e 75 |l"..-- F|ont menu|
|00000d80| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 64 65 6c |.lock sc|reen.del|
|00000d90| 65 74 65 20 6d 65 6e 75 | 20 22 46 6f 6e 74 22 0d |ete menu| "Font".|
|00000da0| 63 72 65 61 74 65 20 6d | 65 6e 75 20 22 46 6f 6e |create m|enu "Fon|
|00000db0| 74 22 0d 70 75 74 20 22 | 43 68 69 63 61 67 6f 2c |t".put "|Chicago,|
|00000dc0| 43 6f 75 72 69 65 72 2c | 47 65 6e 65 76 61 2c 48 |Courier,|Geneva,H|
|00000dd0| 65 6c 76 65 74 69 63 61 | 2c 4d 6f 6e 61 63 6f 2c |elvetica|,Monaco,|
|00000de0| 4e 65 77 20 59 6f 72 6b | 2c 50 61 6c 61 74 69 6e |New York|,Palatin|
|00000df0| 6f 2c 53 79 6d 62 6f 6c | 2c 54 69 6d 65 73 22 20 |o,Symbol|,Times" |
|00000e00| 69 6e 74 6f 20 6d 65 6e | 75 20 22 46 6f 6e 74 22 |into men|u "Font"|
|00000e10| 0d 0d 2d 2d 20 53 74 79 | 6c 65 20 6d 65 6e 75 0d |..-- Sty|le menu.|
|00000e20| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 64 65 6c 65 |lock scr|een.dele|
|00000e30| 74 65 20 6d 65 6e 75 20 | 22 53 74 79 6c 65 22 0d |te menu |"Style".|
|00000e40| 63 72 65 61 74 65 20 6d | 65 6e 75 20 22 53 74 79 |create m|enu "Sty|
|00000e50| 6c 65 22 0d 70 75 74 20 | 22 50 6c 61 69 6e 2c 42 |le".put |"Plain,B|
|00000e60| 6f 6c 64 2c 49 74 61 6c | 69 63 2c 55 6e 64 65 72 |old,Ital|ic,Under|
|00000e70| 6c 69 6e 65 2c 4f 75 74 | 6c 69 6e 65 2c 53 68 61 |line,Out|line,Sha|
|00000e80| 64 6f 77 2c 43 6f 6e 64 | 65 6e 73 65 2c 45 78 74 |dow,Cond|ense,Ext|
|00000e90| 65 6e 64 2c 2d 2c 39 2c | 31 30 2c 31 32 2c 31 34 |end,-,9,|10,12,14|
|00000ea0| 2c 31 38 22 20 69 6e 74 | 6f 20 6d 65 6e 75 20 22 |,18" int|o menu "|
|00000eb0| 53 74 79 6c 65 22 0d 73 | 65 74 20 74 68 65 20 74 |Style".s|et the t|
|00000ec0| 65 78 74 53 74 79 6c 65 | 20 6f 66 20 6d 65 6e 75 |extStyle| of menu|
|00000ed0| 49 74 65 6d 20 31 20 6f | 66 20 6d 65 6e 75 20 22 |Item 1 o|f menu "|
|00000ee0| 53 74 79 6c 65 22 20 74 | 6f 20 22 50 6c 61 69 6e |Style" t|o "Plain|
|00000ef0| 22 0d 73 65 74 20 74 68 | 65 20 74 65 78 74 53 74 |".set th|e textSt|
|00000f00| 79 6c 65 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |yle of m|enuItem |
|00000f10| 32 20 6f 66 20 6d 65 6e | 75 20 22 53 74 79 6c 65 |2 of men|u "Style|
|00000f20| 22 20 74 6f 20 22 42 6f | 6c 64 22 0d 73 65 74 20 |" to "Bo|ld".set |
|00000f30| 74 68 65 20 74 65 78 74 | 53 74 79 6c 65 20 6f 66 |the text|Style of|
|00000f40| 20 6d 65 6e 75 49 74 65 | 6d 20 33 20 6f 66 20 6d | menuIte|m 3 of m|
|00000f50| 65 6e 75 20 22 53 74 79 | 6c 65 22 20 74 6f 20 22 |enu "Sty|le" to "|
|00000f60| 49 74 61 6c 69 63 22 0d | 73 65 74 20 74 68 65 20 |Italic".|set the |
|00000f70| 74 65 78 74 53 74 79 6c | 65 20 6f 66 20 6d 65 6e |textStyl|e of men|
|00000f80| 75 49 74 65 6d 20 34 20 | 6f 66 20 6d 65 6e 75 20 |uItem 4 |of menu |
|00000f90| 22 53 74 79 6c 65 22 20 | 74 6f 20 22 55 6e 64 65 |"Style" |to "Unde|
|00000fa0| 72 6c 69 6e 65 22 0d 73 | 65 74 20 74 68 65 20 74 |rline".s|et the t|
|00000fb0| 65 78 74 53 74 79 6c 65 | 20 6f 66 20 6d 65 6e 75 |extStyle| of menu|
|00000fc0| 49 74 65 6d 20 35 20 6f | 66 20 6d 65 6e 75 20 22 |Item 5 o|f menu "|
|00000fd0| 53 74 79 6c 65 22 20 74 | 6f 20 22 4f 75 74 6c 69 |Style" t|o "Outli|
|00000fe0| 6e 65 22 0d 73 65 74 20 | 74 68 65 20 74 65 78 74 |ne".set |the text|
|00000ff0| 53 74 79 6c 65 20 6f 66 | 20 6d 65 6e 75 49 74 65 |Style of| menuIte|
|00001000| 6d 20 36 20 6f 66 20 6d | 65 6e 75 20 22 53 74 79 |m 6 of m|enu "Sty|
|00001010| 6c 65 22 20 74 6f 20 22 | 53 68 61 64 6f 77 22 0d |le" to "|Shadow".|
|00001020| 73 65 74 20 74 68 65 20 | 74 65 78 74 53 74 79 6c |set the |textStyl|
|00001030| 65 20 6f 66 20 6d 65 6e | 75 49 74 65 6d 20 37 20 |e of men|uItem 7 |
|00001040| 6f 66 20 6d 65 6e 75 20 | 22 53 74 79 6c 65 22 20 |of menu |"Style" |
|00001050| 74 6f 20 22 43 6f 6e 64 | 65 6e 73 65 22 0d 73 65 |to "Cond|ense".se|
|00001060| 74 20 74 68 65 20 74 65 | 78 74 53 74 79 6c 65 20 |t the te|xtStyle |
|00001070| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 38 20 6f 66 |of menuI|tem 8 of|
|00001080| 20 6d 65 6e 75 20 22 53 | 74 79 6c 65 22 20 74 6f | menu "S|tyle" to|
|00001090| 20 22 45 78 74 65 6e 64 | 22 0d 73 65 74 20 74 68 | "Extend|".set th|
|000010a0| 65 20 74 65 78 74 53 74 | 79 6c 65 20 6f 66 20 6d |e textSt|yle of m|
|000010b0| 65 6e 75 49 74 65 6d 20 | 31 30 20 6f 66 20 6d 65 |enuItem |10 of me|
|000010c0| 6e 75 20 22 53 74 79 6c | 65 22 20 74 6f 20 22 4f |nu "Styl|e" to "O|
|000010d0| 75 74 6c 69 6e 65 22 0d | 73 65 74 20 74 68 65 20 |utline".|set the |
|000010e0| 74 65 78 74 53 74 79 6c | 65 20 6f 66 20 6d 65 6e |textStyl|e of men|
|000010f0| 75 49 74 65 6d 20 31 31 | 20 6f 66 20 6d 65 6e 75 |uItem 11| of menu|
|00001100| 20 22 53 74 79 6c 65 22 | 20 74 6f 20 22 4f 75 74 | "Style"| to "Out|
|00001110| 6c 69 6e 65 22 0d 73 65 | 74 20 74 68 65 20 74 65 |line".se|t the te|
|00001120| 78 74 53 74 79 6c 65 20 | 6f 66 20 6d 65 6e 75 49 |xtStyle |of menuI|
|00001130| 74 65 6d 20 31 32 20 6f | 66 20 6d 65 6e 75 20 22 |tem 12 o|f menu "|
|00001140| 53 74 79 6c 65 22 20 74 | 6f 20 22 4f 75 74 6c 69 |Style" t|o "Outli|
|00001150| 6e 65 22 0d 73 65 74 20 | 74 68 65 20 74 65 78 74 |ne".set |the text|
|00001160| 53 74 79 6c 65 20 6f 66 | 20 6d 65 6e 75 49 74 65 |Style of| menuIte|
|00001170| 6d 20 31 33 20 6f 66 20 | 6d 65 6e 75 20 22 53 74 |m 13 of |menu "St|
|00001180| 79 6c 65 22 20 74 6f 20 | 22 4f 75 74 6c 69 6e 65 |yle" to |"Outline|
|00001190| 22 0d 73 65 74 20 74 68 | 65 20 74 65 78 74 53 74 |".set th|e textSt|
|000011a0| 79 6c 65 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |yle of m|enuItem |
|000011b0| 31 34 20 6f 66 20 6d 65 | 6e 75 20 22 53 74 79 6c |14 of me|nu "Styl|
|000011c0| 65 22 20 74 6f 20 22 4f | 75 74 6c 69 6e 65 22 0d |e" to "O|utline".|
|000011d0| 0d 73 65 74 20 63 6f 6d | 6d 61 6e 64 43 68 61 72 |.set com|mandChar|
|000011e0| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 22 43 6c | of menu|Item "Cl|
|000011f0| 6f 73 65 20 43 68 61 72 | 61 63 74 65 72 22 20 6f |ose Char|acter" o|
|00001200| 66 20 6d 65 6e 75 20 22 | 46 69 6c 65 22 20 74 6f |f menu "|File" to|
|00001210| 20 22 57 22 0d 73 65 74 | 20 63 6f 6d 6d 61 6e 64 | "W".set| command|
|00001220| 43 68 61 72 20 6f 66 20 | 6d 65 6e 75 49 74 65 6d |Char of |menuItem|
|00001230| 20 22 51 75 69 74 22 20 | 6f 66 20 6d 65 6e 75 20 | "Quit" |of menu |
|00001240| 22 46 69 6c 65 22 20 74 | 6f 20 22 51 22 0d 73 65 |"File" t|o "Q".se|
|00001250| 74 20 63 6f 6d 6d 61 6e | 64 43 68 61 72 20 6f 66 |t comman|dChar of|
|00001260| 20 6d 65 6e 75 49 74 65 | 6d 20 22 55 6e 64 6f 22 | menuIte|m "Undo"|
|00001270| 20 6f 66 20 6d 65 6e 75 | 20 22 45 64 69 74 22 20 | of menu| "Edit" |
|00001280| 74 6f 20 22 5a 22 0d 73 | 65 74 20 63 6f 6d 6d 61 |to "Z".s|et comma|
|00001290| 6e 64 43 68 61 72 20 6f | 66 20 6d 65 6e 75 49 74 |ndChar o|f menuIt|
|000012a0| 65 6d 20 22 46 69 6e 64 | c9 22 20 6f 66 20 6d 65 |em "Find|." of me|
|000012b0| 6e 75 20 22 47 6f 22 20 | 74 6f 20 22 46 22 0d 73 |nu "Go" |to "F".s|
|000012c0| 65 74 20 63 6f 6d 6d 61 | 6e 64 43 68 61 72 20 6f |et comma|ndChar o|
|000012d0| 66 20 6d 65 6e 75 49 74 | 65 6d 20 22 46 69 6e 64 |f menuIt|em "Find|
|000012e0| 20 41 67 61 69 6e 22 20 | 6f 66 20 6d 65 6e 75 20 | Again" |of menu |
|000012f0| 22 47 6f 22 20 74 6f 20 | 22 47 22 0d 73 65 74 20 |"Go" to |"G".set |
|00001300| 63 6f 6d 6d 61 6e 64 43 | 68 61 72 20 6f 66 20 6d |commandC|har of m|
|00001310| 65 6e 75 49 74 65 6d 20 | 22 54 75 72 6e 20 4d 6f |enuItem |"Turn Mo|
|00001320| 76 69 6e 67 20 4f 6e 22 | 20 6f 66 20 6d 65 6e 75 |ving On"| of menu|
|00001330| 20 22 45 64 69 74 22 20 | 74 6f 20 22 4d 22 0d 0d | "Edit" |to "M"..|
|00001340| 64 69 73 61 62 6c 65 20 | 6d 65 6e 75 49 74 65 6d |disable |menuItem|
|00001350| 20 22 43 6c 6f 73 65 20 | 43 68 61 72 61 63 74 65 | "Close |Characte|
|00001360| 72 22 20 6f 66 20 6d 65 | 6e 75 20 22 46 69 6c 65 |r" of me|nu "File|
|00001370| 22 0d 64 69 73 61 62 6c | 65 20 6d 65 6e 75 49 74 |".disabl|e menuIt|
|00001380| 65 6d 20 22 55 6e 64 6f | 22 20 6f 66 20 6d 65 6e |em "Undo|" of men|
|00001390| 75 20 22 45 64 69 74 22 | 0d 65 6e 64 20 66 69 78 |u "Edit"|.end fix|
|000013a0| 4d 79 4d 65 6e 75 73 0d | 0d 6f 6e 20 75 6e 66 69 |MyMenus.|.on unfi|
|000013b0| 78 4d 79 4d 65 6e 75 73 | 0d 72 65 73 65 74 20 6d |xMyMenus|.reset m|
|000013c0| 65 6e 75 62 61 72 0d 65 | 6e 64 20 75 6e 66 69 78 |enubar.e|nd unfix|
|000013d0| 4d 79 4d 65 6e 75 73 0d | 0d 0d 2d 2d 20 2a 2a 2a |MyMenus.|..-- ***|
|000013e0| 2a 2a 2a 20 6d 65 6e 75 | 20 68 61 6e 64 6c 65 72 |*** menu| handler|
|000013f0| 73 20 2a 2a 2a 2a 2a 0d | 0d 2d 2d 20 2a 2a 2a 2a |s *****.|.-- ****|
|00001400| 2a 2a 20 64 6f 43 6c 6f | 73 65 20 2a 2a 2a 2a 2a |** doClo|se *****|
|00001410| 2a 0d 0d 6f 6e 20 64 6f | 43 6c 6f 73 65 0d 67 6c |*..on do|Close.gl|
|00001420| 6f 62 61 6c 20 74 68 65 | 57 69 6e 64 6f 77 4e 61 |obal the|WindowNa|
|00001430| 6d 65 0d 69 66 20 76 69 | 73 69 62 6c 65 20 6f 66 |me.if vi|sible of|
|00001440| 20 63 64 20 66 69 65 6c | 64 20 38 20 69 73 20 74 | cd fiel|d 8 is t|
|00001450| 72 75 65 20 74 68 65 6e | 20 65 78 69 74 20 64 6f |rue then| exit do|
|00001460| 43 6c 6f 73 65 0d 69 66 | 20 6e 75 6d 62 65 72 20 |Close.if| number |
|00001470| 6f 66 20 77 69 6e 64 6f | 77 73 20 3e 20 31 20 74 |of windo|ws > 1 t|
|00001480| 68 65 6e 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |hen.repe|at with |
|00001490| 78 20 3d 20 31 20 74 6f | 20 6e 75 6d 62 65 72 20 |x = 1 to| number |
|000014a0| 6f 66 20 77 69 6e 64 6f | 77 73 0d 70 75 74 20 74 |of windo|ws.put t|
|000014b0| 68 65 20 6f 77 6e 65 72 | 20 6f 66 20 77 69 6e 64 |he owner| of wind|
|000014c0| 6f 77 20 78 20 69 6e 74 | 6f 20 74 68 65 4f 77 6e |ow x int|o theOwn|
|000014d0| 65 72 0d 69 66 20 74 68 | 65 4f 77 6e 65 72 20 69 |er.if th|eOwner i|
|000014e0| 73 20 22 54 44 57 69 6e | 64 6f 77 22 20 74 68 65 |s "TDWin|dow" the|
|000014f0| 6e 0d 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 74 |n.close |window t|
|00001500| 68 65 57 69 6e 64 6f 77 | 4e 61 6d 65 0d 64 69 73 |heWindow|Name.dis|
|00001510| 61 62 6c 65 20 6d 65 6e | 75 49 74 65 6d 20 22 43 |able men|uItem "C|
|00001520| 6c 6f 73 65 20 43 68 61 | 72 61 63 74 65 72 22 20 |lose Cha|racter" |
|00001530| 6f 66 20 6d 65 6e 75 20 | 22 46 69 6c 65 22 0d 65 |of menu |"File".e|
|00001540| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |xit repe|at.end i|
|00001550| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |f.end re|peat.end|
|00001560| 20 69 66 0d 64 69 73 61 | 62 6c 65 20 6d 65 6e 75 | if.disa|ble menu|
|00001570| 49 74 65 6d 20 22 43 6c | 6f 73 65 20 43 68 61 72 |Item "Cl|ose Char|
|00001580| 61 63 74 65 72 22 20 6f | 66 20 6d 65 6e 75 20 22 |acter" o|f menu "|
|00001590| 46 69 6c 65 22 0d 65 6e | 64 20 64 6f 43 6c 6f 73 |File".en|d doClos|
|000015a0| 65 0d 0d 0d 2d 2d 20 2a | 2a 2a 2a 2a 2a 20 64 6f |e...-- *|***** do|
|000015b0| 45 78 70 6f 72 74 20 2a | 2a 2a 2a 2a 0d 0d 6f 6e |Export *|****..on|
|000015c0| 20 64 6f 45 78 70 6f 72 | 74 0d 64 6f 45 6e 61 62 | doExpor|t.doEnab|
|000015d0| 6c 65 45 64 69 74 6f 72 | 73 0d 57 72 69 74 65 54 |leEditor|s.WriteT|
|000015e0| 6f 46 69 6c 65 20 63 64 | 20 66 69 65 6c 64 20 22 |oFile cd| field "|
|000015f0| 41 6c 6c 22 2c 46 41 4c | 53 45 2c 22 22 2c 46 41 |All",FAL|SE,"",FA|
|00001600| 4c 53 45 2c 22 4d 53 57 | 44 22 0d 64 6f 44 69 73 |LSE,"MSW|D".doDis|
|00001610| 61 62 6c 65 45 64 69 74 | 6f 72 73 0d 65 6e 64 20 |ableEdit|ors.end |
|00001620| 64 6f 45 78 70 6f 72 74 | 0d 0d 0d 2d 2d 20 2a 2a |doExport|...-- **|
|00001630| 2a 2a 2a 2a 20 64 6f 51 | 75 69 74 20 2a 2a 2a 2a |**** doQ|uit ****|
|00001640| 2a 0d 0d 6f 6e 20 64 6f | 51 75 69 74 0d 69 66 20 |*..on do|Quit.if |
|00001650| 76 69 73 69 62 6c 65 20 | 6f 66 20 63 64 20 66 69 |visible |of cd fi|
|00001660| 65 6c 64 20 38 20 69 73 | 20 74 72 75 65 20 74 68 |eld 8 is| true th|
|00001670| 65 6e 20 65 78 69 74 20 | 64 6f 51 75 69 74 0d 64 |en exit |doQuit.d|
|00001680| 6f 4d 65 6e 75 20 22 51 | 75 69 74 20 48 79 70 65 |oMenu "Q|uit Hype|
|00001690| 72 43 61 72 64 22 0d 65 | 6e 64 20 64 6f 51 75 69 |rCard".e|nd doQui|
|000016a0| 74 0d 0d 0d 2d 2d 20 2a | 2a 2a 2a 2a 2a 20 6d 79 |t...-- *|***** my|
|000016b0| 55 6e 64 6f 20 2a 2a 2a | 2a 2a 0d 0d 6f 6e 20 6d |Undo ***|**..on m|
|000016c0| 79 55 6e 64 6f 0d 69 66 | 20 76 69 73 69 62 6c 65 |yUndo.if| visible|
|000016d0| 20 6f 66 20 63 64 20 66 | 69 65 6c 64 20 38 20 69 | of cd f|ield 8 i|
|000016e0| 73 20 74 72 75 65 20 74 | 68 65 6e 20 65 78 69 74 |s true t|hen exit|
|000016f0| 20 6d 79 55 6e 64 6f 0d | 64 6f 4d 65 6e 75 20 22 | myUndo.|doMenu "|
|00001700| 55 6e 64 6f 22 0d 65 6e | 64 20 6d 79 55 6e 64 6f |Undo".en|d myUndo|
|00001710| 0d 0d 0d 2d 2d 20 2a 2a | 2a 2a 2a 2a 20 6d 79 43 |...-- **|**** myC|
|00001720| 75 74 20 2a 2a 2a 2a 2a | 0d 0d 6f 6e 20 6d 79 43 |ut *****|..on myC|
|00001730| 75 74 0d 69 66 20 76 69 | 73 69 62 6c 65 20 6f 66 |ut.if vi|sible of|
|00001740| 20 63 64 20 66 69 65 6c | 64 20 38 20 69 73 20 74 | cd fiel|d 8 is t|
|00001750| 72 75 65 20 74 68 65 6e | 20 65 78 69 74 20 6d 79 |rue then| exit my|
|00001760| 43 75 74 0d 64 6f 4d 65 | 6e 75 20 22 43 75 74 22 |Cut.doMe|nu "Cut"|
|00001770| 0d 65 6e 64 20 6d 79 43 | 75 74 0d 0d 0d 2d 2d 20 |.end myC|ut...-- |
|00001780| 2a 2a 2a 2a 2a 2a 20 6d | 79 43 6f 70 79 20 2a 2a |****** m|yCopy **|
|00001790| 2a 2a 2a 0d 0d 6f 6e 20 | 6d 79 43 6f 70 79 0d 69 |***..on |myCopy.i|
|000017a0| 66 20 76 69 73 69 62 6c | 65 20 6f 66 20 63 64 20 |f visibl|e of cd |
|000017b0| 66 69 65 6c 64 20 38 20 | 69 73 20 74 72 75 65 20 |field 8 |is true |
|000017c0| 74 68 65 6e 20 65 78 69 | 74 20 6d 79 43 6f 70 79 |then exi|t myCopy|
|000017d0| 0d 64 6f 4d 65 6e 75 20 | 22 43 6f 70 79 22 0d 65 |.doMenu |"Copy".e|
|000017e0| 6e 64 20 6d 79 43 6f 70 | 79 0d 0d 0d 2d 2d 20 2a |nd myCop|y...-- *|
|000017f0| 2a 2a 2a 2a 2a 20 6d 79 | 50 61 73 74 65 20 2a 2a |***** my|Paste **|
|00001800| 2a 2a 2a 0d 0d 6f 6e 20 | 6d 79 50 61 73 74 65 0d |***..on |myPaste.|
|00001810| 69 66 20 76 69 73 69 62 | 6c 65 20 6f 66 20 63 64 |if visib|le of cd|
|00001820| 20 66 69 65 6c 64 20 38 | 20 69 73 20 74 72 75 65 | field 8| is true|
|00001830| 20 74 68 65 6e 20 65 78 | 69 74 20 6d 79 50 61 73 | then ex|it myPas|
|00001840| 74 65 0d 64 6f 4d 65 6e | 75 20 22 50 61 73 74 65 |te.doMen|u "Paste|
|00001850| 22 0d 65 6e 64 20 6d 79 | 50 61 73 74 65 0d 0d 0d |".end my|Paste...|
|00001860| 2d 2d 20 2a 2a 2a 2a 2a | 2a 20 6d 79 43 6c 65 61 |-- *****|* myClea|
|00001870| 72 20 2a 2a 2a 2a 2a 0d | 0d 6f 6e 20 6d 79 43 6c |r *****.|.on myCl|
|00001880| 65 61 72 0d 69 66 20 76 | 69 73 69 62 6c 65 20 6f |ear.if v|isible o|
|00001890| 66 20 63 64 20 66 69 65 | 6c 64 20 38 20 69 73 20 |f cd fie|ld 8 is |
|000018a0| 74 72 75 65 20 74 68 65 | 6e 20 65 78 69 74 20 6d |true the|n exit m|
|000018b0| 79 43 6c 65 61 72 0d 64 | 6f 4d 65 6e 75 20 22 43 |yClear.d|oMenu "C|
|000018c0| 6c 65 61 72 22 0d 65 6e | 64 20 6d 79 43 6c 65 61 |lear".en|d myClea|
|000018d0| 72 0d 0d 0d 2d 2d 20 2a | 2a 2a 2a 2a 2a 20 43 6c |r...-- *|***** Cl|
|000018e0| 65 61 72 41 6c 6c 45 6e | 74 72 69 65 73 20 2a 2a |earAllEn|tries **|
|000018f0| 2a 2a 2a 0d 0d 6f 6e 20 | 43 6c 65 61 72 41 6c 6c |***..on |ClearAll|
|00001900| 45 6e 74 72 69 65 73 0d | 67 6c 6f 62 61 6c 20 74 |Entries.|global t|
|00001910| 68 65 52 65 73 75 6c 74 | 0d 70 75 74 20 22 41 72 |heResult|.put "Ar|
|00001920| 65 20 79 6f 75 20 73 75 | 72 65 20 79 6f 75 20 77 |e you su|re you w|
|00001930| 61 6e 74 20 74 6f 20 63 | 6c 65 61 72 20 61 6c 6c |ant to c|lear all|
|00001940| 20 65 6e 74 72 69 65 73 | 3f 22 20 26 26 c2 0d 22 | entries|?" &&.."|
|00001950| 54 68 69 73 20 61 63 74 | 69 6f 6e 20 63 61 6e 6e |This act|ion cann|
|00001960| 6f 74 20 62 65 20 75 6e | 64 6f 6e 65 2e 22 20 69 |ot be un|done." i|
|00001970| 6e 74 6f 20 74 68 65 57 | 61 72 6e 69 6e 67 0d 77 |nto theW|arning.w|
|00001980| 69 74 68 44 69 61 6c 6f | 67 57 61 72 6e 20 74 68 |ithDialo|gWarn th|
|00001990| 65 57 61 72 6e 69 6e 67 | 0d 69 66 20 74 68 65 52 |eWarning|.if theR|
|000019a0| 65 73 75 6c 74 20 69 73 | 20 32 20 74 68 65 6e 0d |esult is| 2 then.|
|000019b0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 72 65 70 65 |lock scr|een.repe|
|000019c0| 61 74 20 77 69 74 68 20 | 78 20 3d 20 31 20 74 6f |at with |x = 1 to|
|000019d0| 20 37 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 | 7.put e|mpty int|
|000019e0| 6f 20 63 61 72 64 20 66 | 69 65 6c 64 20 78 0d 65 |o card f|ield x.e|
|000019f0| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |nd repea|t.end if|
|00001a00| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00001a10| 74 68 65 52 65 73 75 6c | 74 0d 65 6e 64 20 43 6c |theResul|t.end Cl|
|00001a20| 65 61 72 41 6c 6c 45 6e | 74 72 69 65 73 0d 0d 0d |earAllEn|tries...|
|00001a30| 2d 2d 20 2a 2a 2a 2a 2a | 2a 20 74 6f 67 67 6c 65 |-- *****|* toggle|
|00001a40| 4d 6f 76 69 6e 67 20 2a | 2a 2a 2a 2a 2a 0d 0d 6f |Moving *|*****..o|
|00001a50| 6e 20 74 6f 67 67 6c 65 | 4d 6f 76 69 6e 67 0d 67 |n toggle|Moving.g|
|00001a60| 6c 6f 62 61 6c 20 6d 6f | 76 65 42 65 65 6e 4d 61 |lobal mo|veBeenMa|
|00001a70| 64 65 0d 69 66 20 76 69 | 73 69 62 6c 65 20 6f 66 |de.if vi|sible of|
|00001a80| 20 63 64 20 66 69 65 6c | 64 20 38 20 69 73 20 74 | cd fiel|d 8 is t|
|00001a90| 72 75 65 20 74 68 65 6e | 20 65 78 69 74 20 74 6f |rue then| exit to|
|00001aa0| 67 67 6c 65 4d 6f 76 69 | 6e 67 0d 6c 6f 63 6b 20 |ggleMovi|ng.lock |
|00001ab0| 73 63 72 65 65 6e 0d 64 | 69 73 61 62 6c 65 20 6d |screen.d|isable m|
|00001ac0| 65 6e 75 20 22 47 6f 22 | 0d 64 69 73 61 62 6c 65 |enu "Go"|.disable|
|00001ad0| 20 6d 65 6e 75 20 22 46 | 6f 6e 74 22 0d 64 69 73 | menu "F|ont".dis|
|00001ae0| 61 62 6c 65 20 6d 65 6e | 75 20 22 46 69 6c 65 22 |able men|u "File"|
|00001af0| 0d 64 69 73 61 62 6c 65 | 20 6d 65 6e 75 20 22 53 |.disable| menu "S|
|00001b00| 74 79 6c 65 22 0d 64 69 | 73 61 62 6c 65 20 6d 65 |tyle".di|sable me|
|00001b10| 6e 75 49 74 65 6d 20 33 | 20 6f 66 20 6d 65 6e 75 |nuItem 3| of menu|
|00001b20| 20 22 45 64 69 74 22 0d | 64 69 73 61 62 6c 65 20 | "Edit".|disable |
|00001b30| 6d 65 6e 75 49 74 65 6d | 20 36 20 6f 66 20 6d 65 |menuItem| 6 of me|
|00001b40| 6e 75 20 22 45 64 69 74 | 22 0d 74 6f 67 67 6c 65 |nu "Edit|".toggle|
|00001b50| 42 75 74 74 6f 6e 73 20 | 66 61 6c 73 65 0d 70 75 |Buttons |false.pu|
|00001b60| 74 20 22 54 75 72 6e 20 | 4d 6f 76 69 6e 67 20 4f |t "Turn |Moving O|
|00001b70| 66 66 22 20 69 6e 74 6f | 20 6d 65 6e 75 49 74 65 |ff" into| menuIte|
|00001b80| 6d 20 34 20 6f 66 20 6d | 65 6e 75 20 22 45 64 69 |m 4 of m|enu "Edi|
|00001b90| 74 22 20 77 69 74 68 20 | 6d 65 6e 75 4d 65 73 73 |t" with |menuMess|
|00001ba0| 61 67 65 20 22 6d 6f 76 | 69 6e 67 4f 66 66 22 0d |age "mov|ingOff".|
|00001bb0| 73 65 74 20 63 6f 6d 6d | 61 6e 64 43 68 61 72 20 |set comm|andChar |
|00001bc0| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 22 54 75 72 |of menuI|tem "Tur|
|00001bd0| 6e 20 4d 6f 76 69 6e 67 | 20 4f 66 66 22 20 6f 66 |n Moving| Off" of|
|00001be0| 20 6d 65 6e 75 20 22 45 | 64 69 74 22 20 74 6f 20 | menu "E|dit" to |
|00001bf0| 22 4d 22 0d 73 68 6f 77 | 4c 6f 67 20 22 41 6c 6c |"M".show|Log "All|
|00001c00| 22 2c 20 31 0d 70 75 74 | 20 66 61 6c 73 65 20 69 |", 1.put| false i|
|00001c10| 6e 74 6f 20 6d 6f 76 65 | 42 65 65 6e 4d 61 64 65 |nto move|BeenMade|
|00001c20| 0d 65 6e 64 20 74 6f 67 | 67 6c 65 4d 6f 76 69 6e |.end tog|gleMovin|
|00001c30| 67 0d 0d 6f 6e 20 6d 6f | 76 69 6e 67 4f 66 66 0d |g..on mo|vingOff.|
|00001c40| 67 6c 6f 62 61 6c 20 6d | 6f 76 65 42 65 65 6e 4d |global m|oveBeenM|
|00001c50| 61 64 65 2c 20 74 68 65 | 4d 6f 76 65 53 63 72 6f |ade, the|MoveScro|
|00001c60| 6c 6c 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 65 |ll.lock |screen.e|
|00001c70| 6e 61 62 6c 65 20 6d 65 | 6e 75 20 22 46 69 6c 65 |nable me|nu "File|
|00001c80| 22 0d 65 6e 61 62 6c 65 | 20 6d 65 6e 75 49 74 65 |".enable| menuIte|
|00001c90| 6d 20 33 20 6f 66 20 6d | 65 6e 75 20 22 45 64 69 |m 3 of m|enu "Edi|
|00001ca0| 74 22 0d 65 6e 61 62 6c | 65 20 6d 65 6e 75 49 74 |t".enabl|e menuIt|
|00001cb0| 65 6d 20 36 20 6f 66 20 | 6d 65 6e 75 20 22 45 64 |em 6 of |menu "Ed|
|00001cc0| 69 74 22 0d 65 6e 61 62 | 6c 65 20 6d 65 6e 75 20 |it".enab|le menu |
|00001cd0| 22 47 6f 22 0d 65 6e 61 | 62 6c 65 20 6d 65 6e 75 |"Go".ena|ble menu|
|00001ce0| 20 22 46 6f 6e 74 22 0d | 65 6e 61 62 6c 65 20 6d | "Font".|enable m|
|00001cf0| 65 6e 75 20 22 53 74 79 | 6c 65 22 0d 74 6f 67 67 |enu "Sty|le".togg|
|00001d00| 6c 65 42 75 74 74 6f 6e | 73 20 74 72 75 65 0d 70 |leButton|s true.p|
|00001d10| 75 74 20 22 54 75 72 6e | 20 4d 6f 76 69 6e 67 20 |ut "Turn| Moving |
|00001d20| 4f 6e 22 20 69 6e 74 6f | 20 6d 65 6e 75 49 74 65 |On" into| menuIte|
|00001d30| 6d 20 34 20 6f 66 20 6d | 65 6e 75 20 22 45 64 69 |m 4 of m|enu "Edi|
|00001d40| 74 22 20 77 69 74 68 20 | 6d 65 6e 75 4d 65 73 73 |t" with |menuMess|
|00001d50| 61 67 65 20 22 74 6f 67 | 67 6c 65 4d 6f 76 69 6e |age "tog|gleMovin|
|00001d60| 67 22 0d 73 65 74 20 63 | 6f 6d 6d 61 6e 64 43 68 |g".set c|ommandCh|
|00001d70| 61 72 20 6f 66 20 6d 65 | 6e 75 49 74 65 6d 20 22 |ar of me|nuItem "|
|00001d80| 54 75 72 6e 20 4d 6f 76 | 69 6e 67 20 4f 6e 22 20 |Turn Mov|ing On" |
|00001d90| 6f 66 20 6d 65 6e 75 20 | 22 45 64 69 74 22 20 74 |of menu |"Edit" t|
|00001da0| 6f 20 22 4d 22 0d 0d 2d | 2d 20 72 65 6f 72 67 61 |o "M"..-|- reorga|
|00001db0| 6e 69 7a 65 20 74 68 65 | 20 72 65 73 74 20 6f 66 |nize the| rest of|
|00001dc0| 20 74 68 65 20 6c 6f 67 | 73 20 61 66 74 65 72 20 | the log|s after |
|00001dd0| 22 41 6c 6c 22 20 68 61 | 73 20 62 65 65 6e 20 6d |"All" ha|s been m|
|00001de0| 6f 76 65 64 20 61 62 6f | 75 74 0d 69 66 20 6d 6f |oved abo|ut.if mo|
|00001df0| 76 65 42 65 65 6e 4d 61 | 64 65 20 69 73 20 66 61 |veBeenMa|de is fa|
|00001e00| 6c 73 65 20 74 68 65 6e | 20 65 78 69 74 20 6d 6f |lse then| exit mo|
|00001e10| 76 69 6e 67 4f 66 66 0d | 70 75 74 20 66 61 6c 73 |vingOff.|put fals|
|00001e20| 65 20 69 6e 74 6f 20 6d | 6f 76 65 42 65 65 6e 4d |e into m|oveBeenM|
|00001e30| 61 64 65 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |ade.lock| screen.|
|00001e40| 72 65 70 65 61 74 20 77 | 69 74 68 20 79 20 3d 20 |repeat w|ith y = |
|00001e50| 32 20 74 6f 20 37 0d 70 | 75 74 20 65 6d 70 74 79 |2 to 7.p|ut empty|
|00001e60| 20 69 6e 74 6f 20 74 68 | 65 4c 6f 72 74 65 72 0d | into th|eLorter.|
|00001e70| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 74 |put empt|y into t|
|00001e80| 68 65 52 65 6f 72 64 65 | 72 65 64 4c 6f 67 0d 70 |heReorde|redLog.p|
|00001e90| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 74 68 |ut empty| into th|
|00001ea0| 65 4c 6f 67 54 6f 52 65 | 6f 72 64 65 72 0d 70 75 |eLogToRe|order.pu|
|00001eb0| 74 20 63 64 20 66 69 65 | 6c 64 20 79 20 69 6e 74 |t cd fie|ld y int|
|00001ec0| 6f 20 74 68 65 4c 6f 67 | 54 6f 52 65 6f 72 64 65 |o theLog|ToReorde|
|00001ed0| 72 0d 70 75 74 20 6e 75 | 6d 54 6f 43 68 61 72 28 |r.put nu|mToChar(|
|00001ee0| 31 33 29 20 69 6e 74 6f | 20 74 68 65 52 65 74 75 |13) into| theRetu|
|00001ef0| 72 6e 0d 70 75 74 20 6e | 75 6d 54 6f 43 68 61 72 |rn.put n|umToChar|
|00001f00| 28 31 33 29 20 61 66 74 | 65 72 20 74 68 65 52 65 |(13) aft|er theRe|
|00001f10| 74 75 72 6e 0d 70 75 74 | 20 52 65 70 6c 61 63 65 |turn.put| Replace|
|00001f20| 28 74 68 65 4c 6f 67 54 | 6f 52 65 6f 72 64 65 72 |(theLogT|oReorder|
|00001f30| 2c 74 68 65 52 65 74 75 | 72 6e 2c 6e 75 6d 54 6f |,theRetu|rn,numTo|
|00001f40| 43 68 61 72 28 31 33 29 | 2c 66 61 6c 73 65 29 20 |Char(13)|,false) |
|00001f50| 69 6e 74 6f 20 74 68 65 | 4c 6f 67 54 6f 52 65 6f |into the|LogToReo|
|00001f60| 72 64 65 72 0d 72 65 70 | 65 61 74 20 77 69 74 68 |rder.rep|eat with|
|00001f70| 20 78 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | x = 1 t|o the nu|
|00001f80| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e |mber of |lines in|
|00001f90| 20 74 68 65 4c 6f 67 54 | 6f 52 65 6f 72 64 65 72 | theLogT|oReorder|
|00001fa0| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 74 68 |.repeat |until th|
|00001fb0| 65 20 76 61 6c 75 65 20 | 6f 66 20 74 68 65 20 66 |e value |of the f|
|00001fc0| 6f 75 6e 64 4c 69 6e 65 | 20 69 73 20 74 68 65 20 |oundLine| is the |
|00001fd0| 76 61 6c 75 65 20 6f 66 | 20 6c 69 6e 65 20 78 20 |value of| line x |
|00001fe0| 6f 66 20 74 68 65 4c 6f | 67 54 6f 52 65 6f 72 64 |of theLo|gToReord|
|00001ff0| 65 72 0d 66 69 6e 64 20 | 73 74 72 69 6e 67 20 76 |er.find |string v|
|00002000| 61 6c 75 65 20 6f 66 20 | 6c 69 6e 65 20 78 20 6f |alue of |line x o|
|00002010| 66 20 74 68 65 4c 6f 67 | 54 6f 52 65 6f 72 64 65 |f theLog|ToReorde|
|00002020| 72 20 69 6e 20 63 64 20 | 66 69 65 6c 64 20 22 41 |r in cd |field "A|
|00002030| 6c 6c 22 0d 69 66 20 74 | 68 65 20 76 61 6c 75 65 |ll".if t|he value|
|00002040| 20 6f 66 20 74 68 65 20 | 66 6f 75 6e 64 4c 69 6e | of the |foundLin|
|00002050| 65 20 69 73 20 74 68 65 | 20 76 61 6c 75 65 20 6f |e is the| value o|
|00002060| 66 20 6c 69 6e 65 20 78 | 20 6f 66 20 74 68 65 4c |f line x| of theL|
|00002070| 6f 67 54 6f 52 65 6f 72 | 64 65 72 20 74 68 65 6e |ogToReor|der then|
|00002080| 0d 70 75 74 20 74 68 65 | 20 66 6f 75 6e 64 4c 69 |.put the| foundLi|
|00002090| 6e 65 26 6e 75 6d 54 6f | 43 68 61 72 28 31 33 29 |ne&numTo|Char(13)|
|000020a0| 20 61 66 74 65 72 20 74 | 68 65 4c 6f 72 74 65 72 | after t|heLorter|
|000020b0| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|000020c0| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 | if.end |repeat.e|
|000020d0| 6e 64 20 72 65 70 65 61 | 74 0d 73 6f 72 74 20 6c |nd repea|t.sort l|
|000020e0| 69 6e 65 73 20 6f 66 20 | 74 68 65 4c 6f 72 74 65 |ines of |theLorte|
|000020f0| 72 20 6e 75 6d 65 72 69 | 63 20 62 79 20 77 6f 72 |r numeri|c by wor|
|00002100| 64 20 32 20 6f 66 20 65 | 61 63 68 0d 72 65 70 65 |d 2 of e|ach.repe|
|00002110| 61 74 20 77 69 74 68 20 | 78 20 3d 20 31 20 74 6f |at with |x = 1 to|
|00002120| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00002130| 69 6e 65 73 20 69 6e 20 | 74 68 65 4c 6f 67 54 6f |ines in |theLogTo|
|00002140| 52 65 6f 72 64 65 72 0d | 70 75 74 20 74 68 65 20 |Reorder.|put the |
|00002150| 76 61 6c 75 65 20 6f 66 | 20 6c 69 6e 65 20 78 20 |value of| line x |
|00002160| 6f 66 20 74 68 65 4c 6f | 72 74 65 72 20 26 20 6e |of theLo|rter & n|
|00002170| 75 6d 54 6f 43 68 61 72 | 20 28 31 33 29 20 61 66 |umToChar| (13) af|
|00002180| 74 65 72 20 74 68 65 52 | 65 6f 72 64 65 72 65 64 |ter theR|eordered|
|00002190| 4c 6f 67 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 70 |Log.end |repeat.p|
|000021a0| 75 74 20 52 65 70 6c 61 | 63 65 28 74 68 65 52 65 |ut Repla|ce(theRe|
|000021b0| 6f 72 64 65 72 65 64 4c | 6f 67 2c 6e 75 6d 54 6f |orderedL|og,numTo|
|000021c0| 43 68 61 72 28 31 33 29 | 2c 74 68 65 52 65 74 75 |Char(13)|,theRetu|
|000021d0| 72 6e 2c 66 61 6c 73 65 | 29 20 69 6e 74 6f 20 74 |rn,false|) into t|
|000021e0| 68 65 52 65 6f 72 64 65 | 72 65 64 4c 6f 67 0d 70 |heReorde|redLog.p|
|000021f0| 75 74 20 74 68 65 52 65 | 6f 72 64 65 72 65 64 4c |ut theRe|orderedL|
|00002200| 6f 67 20 69 6e 74 6f 20 | 63 64 20 66 69 65 6c 64 |og into |cd field|
|00002210| 20 79 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 73 65 | y.end r|epeat.se|
|00002220| 6c 65 63 74 20 74 68 65 | 20 66 6f 75 6e 64 43 68 |lect the| foundCh|
|00002230| 75 6e 6b 0d 73 65 6c 65 | 63 74 20 65 6d 70 74 79 |unk.sele|ct empty|
|00002240| 0d 73 65 74 20 74 68 65 | 20 73 63 72 6f 6c 6c 20 |.set the| scroll |
|00002250| 6f 66 20 63 64 20 66 69 | 65 6c 64 20 22 41 6c 6c |of cd fi|eld "All|
|00002260| 22 20 74 6f 20 74 68 65 | 4d 6f 76 65 53 63 72 6f |" to the|MoveScro|
|00002270| 6c 6c 0d 65 6e 64 20 6d | 6f 76 69 6e 67 4f 66 66 |ll.end m|ovingOff|
|00002280| 0d 0d 6f 6e 20 74 6f 67 | 67 6c 65 42 75 74 74 6f |..on tog|gleButto|
|00002290| 6e 73 20 74 68 65 43 61 | 73 65 0d 73 65 74 20 74 |ns theCa|se.set t|
|000022a0| 68 65 20 65 6e 61 62 6c | 65 64 20 6f 66 20 62 75 |he enabl|ed of bu|
|000022b0| 74 74 6f 6e 20 22 41 63 | 74 69 76 69 74 79 22 20 |tton "Ac|tivity" |
|000022c0| 74 6f 20 74 68 65 43 61 | 73 65 0d 73 65 74 20 74 |to theCa|se.set t|
|000022d0| 68 65 20 65 6e 61 62 6c | 65 64 20 6f 66 20 62 75 |he enabl|ed of bu|
|000022e0| 74 74 6f 6e 20 22 44 69 | 61 6c 65 63 74 69 43 22 |tton "Di|alectiC"|
|000022f0| 20 74 6f 20 74 68 65 43 | 61 73 65 0d 73 65 74 20 | to theC|ase.set |
|00002300| 74 68 65 20 65 6e 61 62 | 6c 65 64 20 6f 66 20 62 |the enab|led of b|
|00002310| 75 74 74 6f 6e 20 22 42 | 6f 6e 64 22 20 74 6f 20 |utton "B|ond" to |
|00002320| 74 68 65 43 61 73 65 0d | 73 65 74 20 74 68 65 20 |theCase.|set the |
|00002330| 65 6e 61 62 6c 65 64 20 | 6f 66 20 62 75 74 74 6f |enabled |of butto|
|00002340| 6e 20 22 50 72 6f 62 6c | 65 6d 22 20 74 6f 20 74 |n "Probl|em" to t|
|00002350| 68 65 43 61 73 65 0d 73 | 65 74 20 74 68 65 20 65 |heCase.s|et the e|
|00002360| 6e 61 62 6c 65 64 20 6f | 66 20 62 75 74 74 6f 6e |nabled o|f button|
|00002370| 20 22 54 61 73 6b 22 20 | 74 6f 20 74 68 65 43 61 | "Task" |to theCa|
|00002380| 73 65 0d 73 65 74 20 74 | 68 65 20 65 6e 61 62 6c |se.set t|he enabl|
|00002390| 65 64 20 6f 66 20 62 75 | 74 74 6f 6e 20 22 43 68 |ed of bu|tton "Ch|
|000023a0| 6f 73 65 6e 20 4c 6f 67 | 22 20 74 6f 20 74 68 65 |osen Log|" to the|
|000023b0| 43 61 73 65 0d 73 65 74 | 20 74 68 65 20 65 6e 61 |Case.set| the ena|
|000023c0| 62 6c 65 64 20 6f 66 20 | 62 75 74 74 6f 6e 20 22 |bled of |button "|
|000023d0| 45 76 65 6e 74 22 20 74 | 6f 20 74 68 65 43 61 73 |Event" t|o theCas|
|000023e0| 65 0d 65 6e 64 20 74 6f | 67 67 6c 65 42 75 74 74 |e.end to|ggleButt|
|000023f0| 6f 6e 73 0d 0d 0d 2d 2d | 20 2a 2a 2a 2a 2a 2a 20 |ons...--| ****** |
|00002400| 73 68 6f 77 49 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |showInfo|rmation |
|00002410| 2a 2a 2a 2a 2a 2a 0d 0d | 6f 6e 20 73 68 6f 77 49 |******..|on showI|
|00002420| 6e 66 6f 72 6d 61 74 69 | 6f 6e 0d 70 75 74 20 74 |nformati|on.put t|
|00002430| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00002440| 65 73 20 69 6e 20 63 64 | 20 66 69 65 6c 64 20 22 |es in cd| field "|
|00002450| 41 6c 6c 22 20 2f 20 32 | 20 69 6e 74 6f 20 74 68 |All" / 2| into th|
|00002460| 65 45 6e 74 72 69 65 73 | 4e 75 6d 0d 70 75 74 20 |eEntries|Num.put |
|00002470| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00002480| 6e 65 73 20 69 6e 20 63 | 64 20 66 69 65 6c 64 20 |nes in c|d field |
|00002490| 22 45 76 65 6e 74 73 22 | 20 2f 20 32 20 69 6e 74 |"Events"| / 2 int|
|000024a0| 6f 20 74 68 65 45 76 65 | 6e 74 73 4e 75 6d 0d 70 |o theEve|ntsNum.p|
|000024b0| 75 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ut the n|umber of|
|000024c0| 20 77 6f 72 64 73 20 69 | 6e 20 63 64 20 66 69 65 | words i|n cd fie|
|000024d0| 6c 64 20 22 41 6c 6c 22 | 20 69 6e 74 6f 20 74 68 |ld "All"| into th|
|000024e0| 65 57 6f 72 64 73 4e 75 | 6d 0d 70 75 74 20 74 68 |eWordsNu|m.put th|
|000024f0| 65 45 76 65 6e 74 73 4e | 75 6d 20 2f 20 74 68 65 |eEventsN|um / the|
|00002500| 45 6e 74 72 69 65 73 4e | 75 6d 20 69 6e 74 6f 20 |EntriesN|um into |
|00002510| 74 68 65 52 61 74 69 6f | 0d 69 66 20 74 68 65 45 |theRatio|.if theE|
|00002520| 76 65 6e 74 73 4e 75 6d | 20 69 73 20 30 20 74 68 |ventsNum| is 0 th|
|00002530| 65 6e 20 70 75 74 20 30 | 20 69 6e 74 6f 20 74 68 |en put 0| into th|
|00002540| 65 52 61 74 69 6f 0d 61 | 64 64 20 30 20 74 6f 20 |eRatio.a|dd 0 to |
|00002550| 74 68 65 52 61 74 69 6f | 0d 73 65 74 20 6e 75 6d |theRatio|.set num|
|00002560| 62 65 72 46 6f 72 6d 61 | 74 20 74 6f 20 22 30 2e |berForma|t to "0.|
|00002570| 30 30 22 0d 70 75 74 20 | 22 49 6e 66 6f 72 6d 61 |00".put |"Informa|
|00002580| 74 69 6f 6e 20 61 62 6f | 75 74 20 74 68 69 73 20 |tion abo|ut this |
|00002590| 70 72 6f 6a 65 63 74 3a | 22 20 26 20 6e 75 6d 54 |project:|" & numT|
|000025a0| 6f 43 68 61 72 28 31 33 | 29 20 26 20 6e 75 6d 54 |oChar(13|) & numT|
|000025b0| 6f 43 68 61 72 28 31 33 | 29 20 26 20 22 45 76 65 |oChar(13|) & "Eve|
|000025c0| 6e 74 73 20 72 61 74 69 | 6f 3a 20 22 c2 0d 26 20 |nts rati|o: "..& |
|000025d0| 74 68 65 52 61 74 69 6f | 20 26 20 6e 75 6d 54 6f |theRatio| & numTo|
|000025e0| 43 68 61 72 28 31 33 29 | 20 69 6e 74 6f 20 74 68 |Char(13)| into th|
|000025f0| 65 49 6e 66 6f 72 6d 65 | 72 0d 73 65 74 20 6e 75 |eInforme|r.set nu|
|00002600| 6d 62 65 72 46 6f 72 6d | 61 74 20 74 6f 20 64 65 |mberForm|at to de|
|00002610| 66 61 75 6c 74 0d 70 75 | 74 20 22 45 6e 74 72 69 |fault.pu|t "Entri|
|00002620| 65 73 3a 20 22 20 26 20 | 74 68 65 45 6e 74 72 69 |es: " & |theEntri|
|00002630| 65 73 4e 75 6d 20 26 20 | 6e 75 6d 54 6f 43 68 61 |esNum & |numToCha|
|00002640| 72 28 31 33 29 20 26 20 | 22 57 6f 72 64 73 3a 20 |r(13) & |"Words: |
|00002650| 22 c2 0d 26 20 74 68 65 | 57 6f 72 64 73 4e 75 6d |"..& the|WordsNum|
|00002660| 20 61 66 74 65 72 20 74 | 68 65 49 6e 66 6f 72 6d | after t|heInform|
|00002670| 65 72 0d 53 68 6f 77 44 | 69 61 6c 6f 67 20 31 2c |er.ShowD|ialog 1,|
|00002680| 31 30 31 33 35 2c 74 68 | 65 49 6e 66 6f 72 6d 65 |10135,th|eInforme|
|00002690| 72 2c 74 72 75 65 2c 34 | 30 2c 36 30 0d 65 6e 64 |r,true,4|0,60.end|
|000026a0| 20 73 68 6f 77 49 6e 66 | 6f 72 6d 61 74 69 6f 6e | showInf|ormation|
|000026b0| 0d 0d 0d 2d 2d 20 2a 2a | 2a 2a 2a 2a 20 6d 79 46 |...-- **|**** myF|
|000026c0| 69 6e 64 20 2a 2a 2a 2a | 2a 0d 0d 6f 6e 20 6d 79 |ind ****|*..on my|
|000026d0| 46 69 6e 64 0d 69 66 20 | 76 69 73 69 62 6c 65 20 |Find.if |visible |
|000026e0| 6f 66 20 63 64 20 66 69 | 65 6c 64 20 38 20 69 73 |of cd fi|eld 8 is|
|000026f0| 20 74 72 75 65 20 74 68 | 65 6e 20 65 78 69 74 20 | true th|en exit |
|00002700| 6d 79 46 69 6e 64 0d 69 | 66 20 74 68 65 20 6f 70 |myFind.i|f the op|
|00002710| 74 69 6f 6e 4b 65 79 20 | 69 73 20 64 6f 77 6e 20 |tionKey |is down |
|00002720| 74 68 65 6e 20 66 69 6e | 64 41 6c 6c 0d 65 6c 73 |then fin|dAll.els|
|00002730| 65 20 66 69 6e 64 4f 6e | 65 0d 65 6e 64 20 6d 79 |e findOn|e.end my|
|00002740| 46 69 6e 64 0d 0d 0d 2d | 2d 20 2a 2a 2a 2a 2a 2a |Find...-|- ******|
|00002750| 20 66 69 6e 64 4f 6e 65 | 20 2a 2a 2a 2a 2a 0d 0d | findOne| *****..|
|00002760| 6f 6e 20 66 69 6e 64 4f | 6e 65 0d 67 6c 6f 62 61 |on findO|ne.globa|
|00002770| 6c 20 74 68 65 52 65 73 | 75 6c 74 2c 20 74 68 65 |l theRes|ult, the|
|00002780| 46 69 72 73 74 46 6f 75 | 6e 64 43 68 75 6e 6b 2c |FirstFou|ndChunk,|
|00002790| 20 74 68 65 46 6f 75 6e | 64 54 65 78 74 2c 20 73 | theFoun|dText, s|
|000027a0| 68 6f 72 74 45 6e 6f 75 | 67 68 2c 20 74 65 6d 70 |hortEnou|gh, temp|
|000027b0| 53 74 6f 72 61 67 65 0d | 70 75 74 20 22 46 69 6e |Storage.|put "Fin|
|000027c0| 64 3a 22 20 69 6e 74 6f | 20 74 68 65 50 72 6f 6d |d:" into| theProm|
|000027d0| 70 74 0d 77 69 74 68 44 | 69 61 6c 6f 67 50 72 6f |pt.withD|ialogPro|
|000027e0| 6d 70 74 20 74 68 65 50 | 72 6f 6d 70 74 2c 20 22 |mpt theP|rompt, "|
|000027f0| 22 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 69 66 |".lock s|creen.if|
|00002800| 20 74 68 65 52 65 73 75 | 6c 74 20 69 73 20 65 6d | theResu|lt is em|
|00002810| 70 74 79 20 74 68 65 6e | 20 65 78 69 74 20 66 69 |pty then| exit fi|
|00002820| 6e 64 4f 6e 65 0d 70 75 | 74 20 6c 69 6e 65 20 32 |ndOne.pu|t line 2|
|00002830| 20 6f 66 20 74 68 65 52 | 65 73 75 6c 74 20 69 6e | of theR|esult in|
|00002840| 74 6f 20 74 68 65 52 65 | 73 75 6c 74 0d 69 66 20 |to theRe|sult.if |
|00002850| 63 68 61 72 54 6f 4e 75 | 6d 20 6f 66 20 74 68 65 |charToNu|m of the|
|00002860| 52 65 73 75 6c 74 20 3c | 20 31 20 74 68 65 6e 20 |Result <| 1 then |
|00002870| 65 78 69 74 20 66 69 6e | 64 4f 6e 65 0d 0d 0d 2d |exit fin|dOne...-|
|00002880| 2d 20 63 68 65 63 6b 20 | 74 68 61 74 20 74 68 65 |- check |that the|
|00002890| 20 65 64 69 74 65 64 20 | 65 6e 74 72 79 20 69 73 | edited |entry is|
|000028a0| 20 6e 6f 74 20 74 6f 6f | 20 6c 6f 6e 67 0d 0d 70 | not too| long..p|
|000028b0| 75 74 20 66 61 6c 73 65 | 20 69 6e 74 6f 20 73 68 |ut false| into sh|
|000028c0| 6f 72 74 45 6e 6f 75 67 | 68 0d 72 65 70 65 61 74 |ortEnoug|h.repeat|
|000028d0| 20 75 6e 74 69 6c 20 73 | 68 6f 72 74 45 6e 6f 75 | until s|hortEnou|
|000028e0| 67 68 20 69 73 20 74 72 | 75 65 0d 63 68 65 63 6b |gh is tr|ue.check|
|000028f0| 54 68 65 52 65 73 75 6c | 74 4c 65 6e 67 74 68 0d |TheResul|tLength.|
|00002900| 69 66 20 73 68 6f 72 74 | 45 6e 6f 75 67 68 20 69 |if short|Enough i|
|00002910| 73 20 74 72 75 65 20 74 | 68 65 6e 20 65 78 69 74 |s true t|hen exit|
|00002920| 20 72 65 70 65 61 74 0d | 77 69 74 68 44 69 61 6c | repeat.|withDial|
|00002930| 6f 67 50 72 6f 6d 70 74 | 20 74 68 65 50 72 6f 6d |ogPrompt| theProm|
|00002940| 70 74 2c 20 74 65 6d 70 | 53 74 6f 72 61 67 65 0d |pt, temp|Storage.|
|00002950| 69 66 20 74 68 65 52 65 | 73 75 6c 74 20 69 73 20 |if theRe|sult is |
|00002960| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|00002970| 66 69 6e 64 4f 6e 65 0d | 70 75 74 20 6c 69 6e 65 |findOne.|put line|
|00002980| 20 32 20 6f 66 20 74 68 | 65 52 65 73 75 6c 74 20 | 2 of th|eResult |
|00002990| 69 6e 74 6f 20 74 68 65 | 52 65 73 75 6c 74 0d 65 |into the|Result.e|
|000029a0| 6e 64 20 72 65 70 65 61 | 74 0d 69 66 20 63 68 61 |nd repea|t.if cha|
|000029b0| 72 54 6f 4e 75 6d 20 6f | 66 20 74 68 65 52 65 73 |rToNum o|f theRes|
|000029c0| 75 6c 74 20 3c 20 31 20 | 74 68 65 6e 20 65 78 69 |ult < 1 |then exi|
|000029d0| 74 20 66 69 6e 64 4f 6e | 65 0d 0d 73 68 6f 77 4c |t findOn|e..showL|
|000029e0| 6f 67 20 22 41 6c 6c 22 | 2c 20 31 0d 66 69 6e 64 |og "All"|, 1.find|
|000029f0| 20 73 74 72 69 6e 67 20 | 74 68 65 52 65 73 75 6c | string |theResul|
|00002a00| 74 20 69 6e 20 63 64 20 | 66 69 65 6c 64 20 22 41 |t in cd |field "A|
|00002a10| 6c 6c 22 0d 0d 2d 2d 20 | 64 6f 65 73 20 74 68 65 |ll"..-- |does the|
|00002a20| 20 73 65 61 72 63 68 20 | 73 74 72 69 6e 67 20 65 | search |string e|
|00002a30| 78 69 73 74 3f 0d 0d 69 | 66 20 74 68 65 20 72 65 |xist?..i|f the re|
|00002a40| 73 75 6c 74 20 69 73 20 | 22 4e 6f 74 20 66 6f 75 |sult is |"Not fou|
|00002a50| 6e 64 22 20 74 68 65 6e | 0d 73 61 79 4e 6f 74 46 |nd" then|.sayNotF|
|00002a60| 6f 75 6e 64 0d 65 78 69 | 74 20 66 69 6e 64 4f 6e |ound.exi|t findOn|
|00002a70| 65 0d 65 6e 64 20 69 66 | 0d 0d 2d 2d 20 6e 6f 77 |e.end if|..-- now|
|00002a80| 20 77 65 20 6d 75 73 74 | 20 6e 6f 74 65 20 74 68 | we must| note th|
|00002a90| 65 20 66 69 72 73 74 20 | 63 68 75 6e 6b 20 66 6f |e first |chunk fo|
|00002aa0| 75 6e 64 0d 0d 70 75 74 | 20 74 68 65 20 66 6f 75 |und..put| the fou|
|00002ab0| 6e 64 43 68 75 6e 6b 20 | 69 6e 74 6f 20 74 68 65 |ndChunk |into the|
|00002ac0| 46 69 72 73 74 46 6f 75 | 6e 64 43 68 75 6e 6b 0d |FirstFou|ndChunk.|
|00002ad0| 0d 2d 2d 20 61 6e 64 20 | 72 65 63 6f 72 64 20 66 |.-- and |record f|
|00002ae0| 6f 75 6e 64 20 74 65 78 | 74 20 66 6f 72 20 66 69 |ound tex|t for fi|
|00002af0| 6e 64 41 67 61 69 6e 0d | 0d 70 75 74 20 74 68 65 |ndAgain.|.put the|
|00002b00| 20 66 6f 75 6e 64 54 65 | 78 74 20 69 6e 74 6f 20 | foundTe|xt into |
|00002b10| 74 68 65 46 6f 75 6e 64 | 54 65 78 74 0d 65 6e 64 |theFound|Text.end|
|00002b20| 20 66 69 6e 64 4f 6e 65 | 0d 0d 0d 2d 2d 20 2a 2a | findOne|...-- **|
|00002b30| 2a 2a 2a 2a 20 66 69 6e | 64 41 67 61 69 6e 20 2a |**** fin|dAgain *|
|00002b40| 2a 2a 2a 2a 2a 0d 0d 6f | 6e 20 66 69 6e 64 41 67 |*****..o|n findAg|
|00002b50| 61 69 6e 0d 69 66 20 76 | 69 73 69 62 6c 65 20 6f |ain.if v|isible o|
|00002b60| 66 20 63 64 20 66 69 65 | 6c 64 20 38 20 69 73 20 |f cd fie|ld 8 is |
|00002b70| 74 72 75 65 20 74 68 65 | 6e 20 65 78 69 74 20 66 |true the|n exit f|
|00002b80| 69 6e 64 41 67 61 69 6e | 0d 6c 6f 63 6b 20 73 63 |indAgain|.lock sc|
|00002b90| 72 65 65 6e 0d 67 6c 6f | 62 61 6c 20 74 68 65 52 |reen.glo|bal theR|
|00002ba0| 65 73 75 6c 74 2c 20 74 | 68 65 46 69 72 73 74 46 |esult, t|heFirstF|
|00002bb0| 6f 75 6e 64 43 68 75 6e | 6b 2c 20 74 68 65 46 6f |oundChun|k, theFo|
|00002bc0| 75 6e 64 54 65 78 74 0d | 69 66 20 74 68 65 46 6f |undText.|if theFo|
|00002bd0| 75 6e 64 54 65 78 74 20 | 69 73 20 65 6d 70 74 79 |undText |is empty|
|00002be0| 20 74 68 65 6e 0d 62 65 | 65 70 20 31 0d 65 78 69 | then.be|ep 1.exi|
|00002bf0| 74 20 66 69 6e 64 41 67 | 61 69 6e 0d 65 6e 64 20 |t findAg|ain.end |
|00002c00| 69 66 0d 0d 2d 2d 20 63 | 68 65 63 6b 20 74 68 61 |if..-- c|heck tha|
|00002c10| 74 20 73 6f 6d 65 20 74 | 65 78 74 20 73 74 69 6c |t some t|ext stil|
|00002c20| 6c 20 65 78 69 73 74 73 | 0d 0d 72 65 70 65 61 74 |l exists|..repeat|
|00002c30| 20 77 68 69 6c 65 20 74 | 68 65 20 66 6f 75 6e 64 | while t|he found|
|00002c40| 43 68 75 6e 6b 20 69 73 | 20 6e 6f 74 20 74 68 65 |Chunk is| not the|
|00002c50| 46 69 72 73 74 46 6f 75 | 6e 64 43 68 75 6e 6b 0d |FirstFou|ndChunk.|
|00002c60| 73 68 6f 77 4c 6f 67 20 | 22 41 6c 6c 22 2c 20 31 |showLog |"All", 1|
|00002c70| 0d 66 69 6e 64 20 73 74 | 72 69 6e 67 20 74 68 65 |.find st|ring the|
|00002c80| 46 6f 75 6e 64 54 65 78 | 74 20 69 6e 20 63 64 20 |FoundTex|t in cd |
|00002c90| 66 69 65 6c 64 20 22 41 | 6c 6c 22 0d 69 66 20 74 |field "A|ll".if t|
|00002ca0| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 22 4e 6f |he resul|t is "No|
|00002cb0| 74 20 66 6f 75 6e 64 22 | 20 74 68 65 6e 0d 70 75 |t found"| then.pu|
|00002cc0| 74 20 74 68 65 46 6f 75 | 6e 64 54 65 78 74 20 69 |t theFou|ndText i|
|00002cd0| 6e 74 6f 20 74 68 65 52 | 65 73 75 6c 74 0d 73 61 |nto theR|esult.sa|
|00002ce0| 79 4e 6f 74 46 6f 75 6e | 64 0d 65 78 69 74 20 66 |yNotFoun|d.exit f|
|00002cf0| 69 6e 64 41 67 61 69 6e | 0d 65 6e 64 20 69 66 0d |indAgain|.end if.|
|00002d00| 0d 2d 2d 20 63 68 65 63 | 6b 20 77 68 65 74 68 65 |.-- chec|k whethe|
|00002d10| 72 20 77 65 20 67 6f 74 | 20 74 68 65 20 6c 69 6e |r we got| the lin|
|00002d20| 65 20 6f 66 20 74 68 65 | 20 6c 61 73 74 20 66 69 |e of the| last fi|
|00002d30| 6e 64 20 6f 70 65 72 61 | 74 69 6f 6e 0d 0d 69 66 |nd opera|tion..if|
|00002d40| 20 74 68 65 20 66 6f 75 | 6e 64 43 68 75 6e 6b 20 | the fou|ndChunk |
|00002d50| 69 73 20 74 68 65 46 69 | 72 73 74 46 6f 75 6e 64 |is theFi|rstFound|
|00002d60| 43 68 75 6e 6b 20 74 68 | 65 6e 0d 0d 2d 2d 20 6e |Chunk th|en..-- n|
|00002d70| 6f 77 20 6c 6f 6f 6b 20 | 66 6f 72 20 74 68 65 20 |ow look |for the |
|00002d80| 6e 65 78 74 20 6f 6e 65 | 0d 0d 66 69 6e 64 20 73 |next one|..find s|
|00002d90| 74 72 69 6e 67 20 74 68 | 65 46 6f 75 6e 64 54 65 |tring th|eFoundTe|
|00002da0| 78 74 20 69 6e 20 63 64 | 20 66 69 65 6c 64 20 22 |xt in cd| field "|
|00002db0| 41 6c 6c 22 0d 0d 69 66 | 20 74 68 65 20 72 65 73 |All"..if| the res|
|00002dc0| 75 6c 74 20 69 73 20 22 | 4e 6f 74 20 66 6f 75 6e |ult is "|Not foun|
|00002dd0| 64 22 20 74 68 65 6e 0d | 70 75 74 20 22 4e 6f 20 |d" then.|put "No |
|00002de0| 66 75 72 74 68 65 72 20 | 69 6e 73 74 61 6e 63 65 |further |instance|
|00002df0| 73 20 6f 66 22 20 26 26 | 20 71 75 6f 74 65 20 26 |s of" &&| quote &|
|00002e00| 20 74 68 65 46 6f 75 6e | 64 54 65 78 74 20 26 20 | theFoun|dText & |
|00002e10| 71 75 6f 74 65 20 26 26 | 20 22 66 6f 75 6e 64 2e |quote &&| "found.|
|00002e20| 22 20 69 6e 74 6f 20 65 | 78 69 74 4d 65 73 73 61 |" into e|xitMessa|
|00002e30| 67 65 0d 77 69 74 68 44 | 69 61 6c 6f 67 53 74 6f |ge.withD|ialogSto|
|00002e40| 70 20 65 78 69 74 4d 65 | 73 73 61 67 65 0d 65 78 |p exitMe|ssage.ex|
|00002e50| 69 74 20 66 69 6e 64 41 | 67 61 69 6e 0d 65 6e 64 |it findA|gain.end|
|00002e60| 20 69 66 0d 0d 2d 2d 20 | 69 66 20 77 65 20 67 6f | if..-- |if we go|
|00002e70| 74 20 69 74 2c 20 74 68 | 65 6e 20 77 65 27 72 65 |t it, th|en we're|
|00002e80| 20 68 6f 6d 65 20 2d 20 | 70 72 65 70 61 72 65 20 | home - |prepare |
|00002e90| 74 68 65 20 6c 69 6e 65 | 20 66 6f 72 20 6e 65 78 |the line| for nex|
|00002ea0| 74 20 66 69 6e 64 41 67 | 61 69 6e 0d 0d 70 75 74 |t findAg|ain..put|
|00002eb0| 20 74 68 65 20 66 6f 75 | 6e 64 43 68 75 6e 6b 20 | the fou|ndChunk |
|00002ec0| 69 6e 74 6f 20 74 68 65 | 46 69 72 73 74 46 6f 75 |into the|FirstFou|
|00002ed0| 6e 64 43 68 75 6e 6b 0d | 65 78 69 74 20 66 69 6e |ndChunk.|exit fin|
|00002ee0| 64 41 67 61 69 6e 0d 65 | 6e 64 20 69 66 0d 65 6e |dAgain.e|nd if.en|
|00002ef0| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 66 69 6e |d repeat|.end fin|
|00002f00| 64 41 67 61 69 6e 0d 0d | 0d 2d 2d 20 2a 2a 2a 2a |dAgain..|.-- ****|
|00002f10| 2a 2a 20 66 69 6e 64 41 | 6c 6c 20 2a 2a 2a 2a 2a |** findA|ll *****|
|00002f20| 2a 0d 0d 6f 6e 20 66 69 | 6e 64 41 6c 6c 0d 67 6c |*..on fi|ndAll.gl|
|00002f30| 6f 62 61 6c 20 74 68 65 | 52 65 73 75 6c 74 2c 20 |obal the|Result, |
|00002f40| 74 68 65 46 69 72 73 74 | 46 6f 75 6e 64 43 68 75 |theFirst|FoundChu|
|00002f50| 6e 6b 2c 20 74 68 65 46 | 6f 75 6e 64 54 65 78 74 |nk, theF|oundText|
|00002f60| 2c 20 73 68 6f 72 74 45 | 6e 6f 75 67 68 2c 20 74 |, shortE|nough, t|
|00002f70| 65 6d 70 53 74 6f 72 61 | 67 65 0d 70 75 74 20 22 |empStora|ge.put "|
|00002f80| 46 69 6e 64 20 61 6c 6c | 20 69 6e 73 74 61 6e 63 |Find all| instanc|
|00002f90| 65 73 20 6f 66 3a 22 20 | 69 6e 74 6f 20 74 68 65 |es of:" |into the|
|00002fa0| 50 72 6f 6d 70 74 0d 77 | 69 74 68 44 69 61 6c 6f |Prompt.w|ithDialo|
|00002fb0| 67 50 72 6f 6d 70 74 20 | 74 68 65 50 72 6f 6d 70 |gPrompt |thePromp|
|00002fc0| 74 2c 20 22 22 0d 6c 6f | 63 6b 20 73 63 72 65 65 |t, "".lo|ck scree|
|00002fd0| 6e 0d 69 66 20 74 68 65 | 52 65 73 75 6c 74 20 69 |n.if the|Result i|
|00002fe0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |s empty |then exi|
|00002ff0| 74 20 66 69 6e 64 41 6c | 6c 0d 70 75 74 20 6c 69 |t findAl|l.put li|
|00003000| 6e 65 20 32 20 6f 66 20 | 74 68 65 52 65 73 75 6c |ne 2 of |theResul|
|00003010| 74 20 69 6e 74 6f 20 74 | 68 65 52 65 73 75 6c 74 |t into t|heResult|
|00003020| 0d 69 66 20 63 68 61 72 | 54 6f 4e 75 6d 20 6f 66 |.if char|ToNum of|
|00003030| 20 74 68 65 52 65 73 75 | 6c 74 20 3c 20 31 20 74 | theResu|lt < 1 t|
|00003040| 68 65 6e 20 65 78 69 74 | 20 66 69 6e 64 41 6c 6c |hen exit| findAll|
|00003050| 0d 0d 2d 2d 20 6e 6f 77 | 20 63 68 65 63 6b 20 74 |..-- now| check t|
|00003060| 68 61 74 20 69 74 20 69 | 73 20 6e 6f 74 20 74 6f |hat it i|s not to|
|00003070| 6f 20 6c 6f 6e 67 0d 0d | 70 75 74 20 66 61 6c 73 |o long..|put fals|
|00003080| 65 20 69 6e 74 6f 20 73 | 68 6f 72 74 45 6e 6f 75 |e into s|hortEnou|
|00003090| 67 68 0d 72 65 70 65 61 | 74 20 75 6e 74 69 6c 20 |gh.repea|t until |
|000030a0| 73 68 6f 72 74 45 6e 6f | 75 67 68 20 69 73 20 74 |shortEno|ugh is t|
|000030b0| 72 75 65 0d 63 68 65 63 | 6b 54 68 65 52 65 73 75 |rue.chec|kTheResu|
|000030c0| 6c 74 4c 65 6e 67 74 68 | 0d 69 66 20 73 68 6f 72 |ltLength|.if shor|
|000030d0| 74 45 6e 6f 75 67 68 20 | 69 73 20 74 72 75 65 20 |tEnough |is true |
|000030e0| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 65 61 74 |then exi|t repeat|
|000030f0| 0d 77 69 74 68 44 69 61 | 6c 6f 67 50 72 6f 6d 70 |.withDia|logPromp|
|00003100| 74 20 74 68 65 50 72 6f | 6d 70 74 2c 20 74 65 6d |t thePro|mpt, tem|
|00003110| 70 53 74 6f 72 61 67 65 | 0d 69 66 20 74 68 65 52 |pStorage|.if theR|
|00003120| 65 73 75 6c 74 20 69 73 | 20 65 6d 70 74 79 20 74 |esult is| empty t|
|00003130| 68 65 6e 20 65 78 69 74 | 20 66 69 6e 64 41 6c 6c |hen exit| findAll|
|00003140| 0d 70 75 74 20 6c 69 6e | 65 20 32 20 6f 66 20 74 |.put lin|e 2 of t|
|00003150| 68 65 52 65 73 75 6c 74 | 20 69 6e 74 6f 20 74 68 |heResult| into th|
|00003160| 65 52 65 73 75 6c 74 0d | 65 6e 64 20 72 65 70 65 |eResult.|end repe|
|00003170| 61 74 0d 69 66 20 63 68 | 61 72 54 6f 4e 75 6d 20 |at.if ch|arToNum |
|00003180| 6f 66 20 74 68 65 52 65 | 73 75 6c 74 20 3c 20 31 |of theRe|sult < 1|
|00003190| 20 74 68 65 6e 20 65 78 | 69 74 20 66 69 6e 64 41 | then ex|it findA|
|000031a0| 6c 6c 0d 0d 73 68 6f 77 | 4c 6f 67 20 22 41 6c 6c |ll..show|Log "All|
|000031b0| 22 2c 20 31 0d 66 69 6e | 64 20 73 74 72 69 6e 67 |", 1.fin|d string|
|000031c0| 20 74 68 65 52 65 73 75 | 6c 74 20 69 6e 20 63 64 | theResu|lt in cd|
|000031d0| 20 66 69 65 6c 64 20 22 | 41 6c 6c 22 0d 0d 2d 2d | field "|All"..--|
|000031e0| 20 64 6f 65 73 20 74 68 | 65 20 73 65 61 72 63 68 | does th|e search|
|000031f0| 20 73 74 72 69 6e 67 20 | 65 78 69 73 74 3f 0d 0d | string |exist?..|
|00003200| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |if the r|esult is|
|00003210| 20 22 4e 6f 74 20 66 6f | 75 6e 64 22 20 74 68 65 | "Not fo|und" the|
|00003220| 6e 0d 73 61 79 4e 6f 74 | 46 6f 75 6e 64 0d 65 78 |n.sayNot|Found.ex|
|00003230| 69 74 20 66 69 6e 64 41 | 6c 6c 0d 65 6e 64 20 69 |it findA|ll.end i|
|00003240| 66 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |f.unlock| screen.|
|00003250| 70 6c 61 79 46 6c 75 74 | 65 0d 0d 2d 2d 20 6e 6f |playFlut|e..-- no|
|00003260| 77 20 77 65 20 6d 75 73 | 74 20 6e 6f 74 65 20 74 |w we mus|t note t|
|00003270| 68 65 20 66 69 72 73 74 | 20 63 68 75 6e 6b 20 66 |he first| chunk f|
|00003280| 6f 75 6e 64 0d 0d 70 75 | 74 20 74 68 65 20 66 6f |ound..pu|t the fo|
|00003290| 75 6e 64 43 68 75 6e 6b | 20 69 6e 74 6f 20 74 68 |undChunk| into th|
|000032a0| 65 46 69 72 73 74 46 6f | 75 6e 64 43 68 75 6e 6b |eFirstFo|undChunk|
|000032b0| 0d 0d 2d 2d 20 61 6e 64 | 20 72 65 63 6f 72 64 20 |..-- and| record |
|000032c0| 66 6f 75 6e 64 20 74 65 | 78 74 20 66 6f 72 20 66 |found te|xt for f|
|000032d0| 69 6e 64 41 67 61 69 6e | 0d 0d 70 75 74 20 74 68 |indAgain|..put th|
|000032e0| 65 20 66 6f 75 6e 64 54 | 65 78 74 20 69 6e 74 6f |e foundT|ext into|
|000032f0| 20 74 68 65 46 6f 75 6e | 64 54 65 78 74 0d 0d 2d | theFoun|dText..-|
|00003300| 2d 20 74 68 65 6e 20 77 | 65 20 63 61 72 72 79 20 |- then w|e carry |
|00003310| 6f 6e 20 6c 6f 6f 6b 69 | 6e 67 20 75 6e 74 69 6c |on looki|ng until|
|00003320| 20 77 65 20 68 69 74 20 | 74 68 65 20 62 65 67 69 | we hit |the begi|
|00003330| 6e 6e 69 6e 67 20 61 67 | 61 69 6e 0d 0d 72 65 70 |nning ag|ain..rep|
|00003340| 65 61 74 20 77 68 69 6c | 65 20 74 68 65 20 6d 6f |eat whil|e the mo|
|00003350| 75 73 65 43 6c 69 63 6b | 20 69 73 20 66 61 6c 73 |useClick| is fals|
|00003360| 65 0d 77 61 69 74 20 32 | 20 73 65 63 6f 6e 64 73 |e.wait 2| seconds|
|00003370| 0d 69 66 20 74 68 65 20 | 6d 6f 75 73 65 43 6c 69 |.if the |mouseCli|
|00003380| 63 6b 20 69 73 20 74 72 | 75 65 20 74 68 65 6e 0d |ck is tr|ue then.|
|00003390| 73 65 6c 65 63 74 20 74 | 68 65 20 66 6f 75 6e 64 |select t|he found|
|000033a0| 43 68 75 6e 6b 0d 73 65 | 6c 65 63 74 20 65 6d 70 |Chunk.se|lect emp|
|000033b0| 74 79 0d 65 78 69 74 20 | 66 69 6e 64 41 6c 6c 0d |ty.exit |findAll.|
|000033c0| 65 6e 64 20 69 66 0d 66 | 69 6e 64 20 73 74 72 69 |end if.f|ind stri|
|000033d0| 6e 67 20 74 68 65 52 65 | 73 75 6c 74 20 69 6e 20 |ng theRe|sult in |
|000033e0| 63 64 20 66 69 65 6c 64 | 20 22 41 6c 6c 22 0d 69 |cd field| "All".i|
|000033f0| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00003400| 22 4e 6f 74 20 66 6f 75 | 6e 64 22 20 74 68 65 6e |"Not fou|nd" then|
|00003410| 0d 73 65 6c 65 63 74 20 | 74 68 65 20 66 6f 75 6e |.select |the foun|
|00003420| 64 43 68 75 6e 6b 0d 73 | 65 6c 65 63 74 20 65 6d |dChunk.s|elect em|
|00003430| 70 74 79 0d 73 61 79 4e | 6f 74 46 6f 75 6e 64 0d |pty.sayN|otFound.|
|00003440| 65 78 69 74 20 66 69 6e | 64 41 6c 6c 0d 65 6e 64 |exit fin|dAll.end|
|00003450| 20 69 66 0d 69 66 20 74 | 68 65 20 66 6f 75 6e 64 | if.if t|he found|
|00003460| 43 68 75 6e 6b 20 69 73 | 20 74 68 65 46 69 72 73 |Chunk is| theFirs|
|00003470| 74 46 6f 75 6e 64 43 68 | 75 6e 6b 20 74 68 65 6e |tFoundCh|unk then|
|00003480| 0d 73 65 6c 65 63 74 20 | 74 68 65 20 66 6f 75 6e |.select |the foun|
|00003490| 64 43 68 75 6e 6b 0d 73 | 65 6c 65 63 74 20 65 6d |dChunk.s|elect em|
|000034a0| 70 74 79 0d 65 78 69 74 | 20 66 69 6e 64 41 6c 6c |pty.exit| findAll|
|000034b0| 0d 65 6e 64 20 69 66 0d | 70 6c 61 79 46 6c 75 74 |.end if.|playFlut|
|000034c0| 65 0d 70 75 74 20 74 68 | 65 20 66 6f 75 6e 64 43 |e.put th|e foundC|
|000034d0| 68 75 6e 6b 20 69 6e 74 | 6f 20 74 68 65 46 6f 75 |hunk int|o theFou|
|000034e0| 6e 64 43 68 75 6e 6b 0d | 65 6e 64 20 72 65 70 65 |ndChunk.|end repe|
|000034f0| 61 74 0d 65 6e 64 20 66 | 69 6e 64 41 6c 6c 0d 0d |at.end f|indAll..|
|00003500| 0d 2d 2d 20 2a 2a 2a 2a | 2a 2a 20 73 61 79 4e 6f |.-- ****|** sayNo|
|00003510| 74 46 6f 75 6e 64 20 2a | 2a 2a 2a 2a 0d 0d 6f 6e |tFound *|****..on|
|00003520| 20 73 61 79 4e 6f 74 46 | 6f 75 6e 64 0d 67 6c 6f | sayNotF|ound.glo|
|00003530| 62 61 6c 20 74 68 65 52 | 65 73 75 6c 74 0d 70 75 |bal theR|esult.pu|
|00003540| 74 20 71 75 6f 74 65 20 | 26 20 74 68 65 52 65 73 |t quote |& theRes|
|00003550| 75 6c 74 20 26 20 71 75 | 6f 74 65 20 26 26 20 22 |ult & qu|ote && "|
|00003560| 6e 6f 74 20 66 6f 75 6e | 64 2e 22 20 69 6e 74 6f |not foun|d." into|
|00003570| 20 74 68 65 52 65 70 6c | 79 0d 77 69 74 68 44 69 | theRepl|y.withDi|
|00003580| 61 6c 6f 67 53 74 6f 70 | 20 74 68 65 52 65 70 6c |alogStop| theRepl|
|00003590| 79 0d 65 6e 64 20 73 61 | 79 4e 6f 74 46 6f 75 6e |y.end sa|yNotFoun|
|000035a0| 64 0d 0d 0d 2d 2d 20 2a | 2a 2a 2a 2a 2a 20 6d 79 |d...-- *|***** my|
|000035b0| 52 65 70 6c 61 63 65 20 | 2a 2a 2a 2a 2a 0d 0d 6f |Replace |*****..o|
|000035c0| 6e 20 6d 79 52 65 70 6c | 61 63 65 0d 64 6f 45 6e |n myRepl|ace.doEn|
|000035d0| 61 62 6c 65 45 64 69 74 | 6f 72 73 0d 73 68 6f 77 |ableEdit|ors.show|
|000035e0| 4c 6f 67 20 22 41 6c 6c | 22 2c 31 0d 53 68 6f 77 |Log "All|",1.Show|
|000035f0| 44 69 61 6c 6f 67 20 32 | 2c 31 30 31 33 36 2c 22 |Dialog 2|,10136,"|
|00003600| 46 69 6e 64 3a 22 2c 22 | 52 65 70 6c 61 63 65 3a |Find:","|Replace:|
|00003610| 22 2c 2c 74 72 75 65 2c | 32 36 35 2c 32 35 0d 69 |",,true,|265,25.i|
|00003620| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00003630| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 |not empt|y then.p|
|00003640| 75 74 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 6e |ut the r|esult in|
|00003650| 74 6f 20 74 68 65 52 65 | 73 75 6c 74 0d 70 75 74 |to theRe|sult.put|
|00003660| 20 77 6f 72 64 20 31 20 | 6f 66 20 74 68 65 52 65 | word 1 |of theRe|
|00003670| 73 75 6c 74 20 69 6e 74 | 6f 20 63 61 73 65 53 65 |sult int|o caseSe|
|00003680| 6e 73 0d 70 75 74 20 6c | 69 6e 65 20 32 20 6f 66 |ns.put l|ine 2 of|
|00003690| 20 74 68 65 52 65 73 75 | 6c 74 20 69 6e 74 6f 20 | theResu|lt into |
|000036a0| 6f 6c 64 54 65 78 74 0d | 69 66 20 6f 6c 64 54 65 |oldText.|if oldTe|
|000036b0| 78 74 20 3c 20 31 20 74 | 68 65 6e 0d 64 6f 44 69 |xt < 1 t|hen.doDi|
|000036c0| 73 61 62 6c 65 45 64 69 | 74 6f 72 73 0d 65 78 69 |sableEdi|tors.exi|
|000036d0| 74 20 6d 79 52 65 70 6c | 61 63 65 0d 65 6e 64 20 |t myRepl|ace.end |
|000036e0| 69 66 0d 70 75 74 20 6c | 69 6e 65 20 33 20 6f 66 |if.put l|ine 3 of|
|000036f0| 20 74 68 65 52 65 73 75 | 6c 74 20 69 6e 74 6f 20 | theResu|lt into |
|00003700| 6e 65 77 54 65 78 74 0d | 6c 6f 63 6b 20 73 63 72 |newText.|lock scr|
|00003710| 65 65 6e 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |een.repe|at with |
|00003720| 78 20 3d 20 31 20 74 6f | 20 37 0d 70 75 74 20 52 |x = 1 to| 7.put R|
|00003730| 65 70 6c 61 63 65 28 63 | 64 20 66 69 65 6c 64 20 |eplace(c|d field |
|00003740| 78 2c 6f 6c 64 54 65 78 | 74 2c 6e 65 77 54 65 78 |x,oldTex|t,newTex|
|00003750| 74 2c 63 61 73 65 53 65 | 6e 73 29 20 69 6e 74 6f |t,caseSe|ns) into|
|00003760| 20 63 64 20 66 69 65 6c | 64 20 78 0d 65 6e 64 20 | cd fiel|d x.end |
|00003770| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 64 6f |repeat.e|nd if.do|
|00003780| 44 69 73 61 62 6c 65 45 | 64 69 74 6f 72 73 0d 65 |DisableE|ditors.e|
|00003790| 6e 64 20 6d 79 52 65 70 | 6c 61 63 65 0d 0d 0d 2d |nd myRep|lace...-|
|000037a0| 2d 20 2a 2a 2a 2a 2a 2a | 20 73 68 6f 77 43 68 61 |- ******| showCha|
|000037b0| 72 61 63 74 65 72 20 2a | 2a 2a 2a 2a 0d 0d 6f 6e |racter *|****..on|
|000037c0| 20 73 68 6f 77 43 68 61 | 72 61 63 74 65 72 0d 67 | showCha|racter.g|
|000037d0| 6c 6f 62 61 6c 20 74 68 | 65 52 65 73 75 6c 74 2c |lobal th|eResult,|
|000037e0| 20 74 68 65 50 72 6f 6d | 70 74 0d 70 75 74 20 22 | theProm|pt.put "|
|000037f0| 53 68 6f 77 20 63 68 61 | 72 61 63 74 65 72 3a 22 |Show cha|racter:"|
|00003800| 20 69 6e 74 6f 20 74 68 | 65 50 72 6f 6d 70 74 0d | into th|ePrompt.|
|00003810| 70 75 74 20 22 4e 61 6d | 65 22 20 69 6e 74 6f 20 |put "Nam|e" into |
|00003820| 74 68 65 44 65 66 61 75 | 6c 74 0d 77 69 74 68 44 |theDefau|lt.withD|
|00003830| 69 61 6c 6f 67 50 72 6f | 6d 70 74 20 74 68 65 50 |ialogPro|mpt theP|
|00003840| 72 6f 6d 70 74 2c 20 74 | 68 65 44 65 66 61 75 6c |rompt, t|heDefaul|
|00003850| 74 0d 73 68 6f 77 54 68 | 69 73 43 68 61 72 61 63 |t.showTh|isCharac|
|00003860| 74 65 72 0d 65 6e 64 20 | 73 68 6f 77 43 68 61 72 |ter.end |showChar|
|00003870| 61 63 74 65 72 0d 0d 0d | 2d 2d 20 2a 2a 2a 2a 2a |acter...|-- *****|
|00003880| 2a 20 73 68 6f 77 54 68 | 69 73 43 68 61 72 61 63 |* showTh|isCharac|
|00003890| 74 65 72 20 2a 2a 2a 2a | 2a 2a 0d 0d 6f 6e 20 73 |ter ****|**..on s|
|000038a0| 68 6f 77 54 68 69 73 43 | 68 61 72 61 63 74 65 72 |howThisC|haracter|
|000038b0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|000038c0| 62 67 20 66 69 65 6c 64 | 20 22 43 68 61 72 61 63 |bg field| "Charac|
|000038d0| 74 65 72 73 22 0d 67 6c | 6f 62 61 6c 20 74 68 65 |ters".gl|obal the|
|000038e0| 52 65 73 75 6c 74 2c 20 | 73 68 6f 72 74 45 6e 6f |Result, |shortEno|
|000038f0| 75 67 68 2c 20 74 65 6d | 70 53 74 6f 72 61 67 65 |ugh, tem|pStorage|
|00003900| 2c 20 74 68 65 50 72 6f | 6d 70 74 2c 20 74 68 65 |, thePro|mpt, the|
|00003910| 57 69 6e 64 6f 77 4e 61 | 6d 65 0d 0d 69 66 20 74 |WindowNa|me..if t|
|00003920| 68 65 52 65 73 75 6c 74 | 20 69 73 20 6e 6f 74 20 |heResult| is not |
|00003930| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 6c |empty th|en.put l|
|00003940| 69 6e 65 20 32 20 6f 66 | 20 74 68 65 52 65 73 75 |ine 2 of| theResu|
|00003950| 6c 74 20 69 6e 74 6f 20 | 74 68 65 52 65 73 75 6c |lt into |theResul|
|00003960| 74 0d 69 66 20 63 68 61 | 72 54 6f 4e 75 6d 28 74 |t.if cha|rToNum(t|
|00003970| 68 65 52 65 73 75 6c 74 | 29 20 3c 20 31 20 74 68 |heResult|) < 1 th|
|00003980| 65 6e 20 65 78 69 74 20 | 73 68 6f 77 54 68 69 73 |en exit |showThis|
|00003990| 43 68 61 72 61 63 74 65 | 72 0d 0d 2d 2d 20 63 68 |Characte|r..-- ch|
|000039a0| 65 63 6b 20 74 68 61 74 | 20 74 68 65 20 65 6e 74 |eck that| the ent|
|000039b0| 72 79 20 69 73 20 6e 6f | 74 20 74 6f 6f 20 6c 6f |ry is no|t too lo|
|000039c0| 6e 67 0d 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e |ng..put |false in|
|000039d0| 74 6f 20 73 68 6f 72 74 | 45 6e 6f 75 67 68 0d 72 |to short|Enough.r|
|000039e0| 65 70 65 61 74 20 75 6e | 74 69 6c 20 73 68 6f 72 |epeat un|til shor|
|000039f0| 74 45 6e 6f 75 67 68 20 | 69 73 20 74 72 75 65 0d |tEnough |is true.|
|00003a00| 63 68 65 63 6b 54 68 65 | 52 65 73 75 6c 74 4c 65 |checkThe|ResultLe|
|00003a10| 6e 67 74 68 0d 69 66 20 | 73 68 6f 72 74 45 6e 6f |ngth.if |shortEno|
|00003a20| 75 67 68 20 69 73 20 74 | 72 75 65 20 74 68 65 6e |ugh is t|rue then|
|00003a30| 20 65 78 69 74 20 72 65 | 70 65 61 74 0d 77 69 74 | exit re|peat.wit|
|00003a40| 68 44 69 61 6c 6f 67 50 | 72 6f 6d 70 74 20 74 68 |hDialogP|rompt th|
|00003a50| 65 50 72 6f 6d 70 74 2c | 20 74 65 6d 70 53 74 6f |ePrompt,| tempSto|
|00003a60| 72 61 67 65 0d 69 66 20 | 74 68 65 52 65 73 75 6c |rage.if |theResul|
|00003a70| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |t is emp|ty then |
|00003a80| 65 78 69 74 20 73 68 6f | 77 54 68 69 73 43 68 61 |exit sho|wThisCha|
|00003a90| 72 61 63 74 65 72 0d 70 | 75 74 20 6c 69 6e 65 20 |racter.p|ut line |
|00003aa0| 32 20 6f 66 20 74 68 65 | 52 65 73 75 6c 74 20 69 |2 of the|Result i|
|00003ab0| 6e 74 6f 20 74 68 65 52 | 65 73 75 6c 74 0d 65 6e |nto theR|esult.en|
|00003ac0| 64 20 72 65 70 65 61 74 | 0d 69 66 20 63 68 61 72 |d repeat|.if char|
|00003ad0| 54 6f 4e 75 6d 20 6f 66 | 20 74 68 65 52 65 73 75 |ToNum of| theResu|
|00003ae0| 6c 74 20 3c 20 31 20 74 | 68 65 6e 20 65 78 69 74 |lt < 1 t|hen exit|
|00003af0| 20 73 68 6f 77 54 68 69 | 73 43 68 61 72 61 63 74 | showThi|sCharact|
|00003b00| 65 72 0d 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |er..lock| screen.|
|00003b10| 66 69 6e 64 20 77 6f 72 | 64 20 74 68 65 52 65 73 |find wor|d theRes|
|00003b20| 75 6c 74 20 69 6e 20 63 | 64 20 66 69 65 6c 64 20 |ult in c|d field |
|00003b30| 22 41 6c 6c 22 0d 69 66 | 20 74 68 65 20 72 65 73 |"All".if| the res|
|00003b40| 75 6c 74 20 69 73 20 22 | 4e 6f 74 20 66 6f 75 6e |ult is "|Not foun|
|00003b50| 64 22 20 74 68 65 6e 0d | 73 61 79 4e 6f 74 46 6f |d" then.|sayNotFo|
|00003b60| 75 6e 64 0d 65 78 69 74 | 20 73 68 6f 77 54 68 69 |und.exit| showThi|
|00003b70| 73 43 68 61 72 61 63 74 | 65 72 0d 65 6e 64 20 69 |sCharact|er.end i|
|00003b80| 66 0d 0d 70 75 74 20 74 | 68 65 20 66 6f 75 6e 64 |f..put t|he found|
|00003b90| 4c 69 6e 65 20 69 6e 74 | 6f 20 74 68 65 46 69 72 |Line int|o theFir|
|00003ba0| 73 74 46 6f 75 6e 64 4c | 69 6e 65 0d 70 75 74 20 |stFoundL|ine.put |
|00003bb0| 74 68 65 20 66 6f 75 6e | 64 43 68 75 6e 6b 20 69 |the foun|dChunk i|
|00003bc0| 6e 74 6f 20 74 68 65 46 | 69 72 73 74 46 6f 75 6e |nto theF|irstFoun|
|00003bd0| 64 43 68 75 6e 6b 0d 0d | 2d 2d 20 64 6f 20 69 74 |dChunk..|-- do it|
|00003be0| 20 74 69 6c 6c 20 79 6f | 75 20 68 69 74 20 74 68 | till yo|u hit th|
|00003bf0| 65 20 62 65 67 69 6e 6e | 69 6e 67 20 61 67 61 69 |e beginn|ing agai|
|00003c00| 6e 0d 0d 66 69 6e 64 20 | 77 6f 72 64 20 74 68 65 |n..find |word the|
|00003c10| 52 65 73 75 6c 74 20 69 | 6e 20 63 64 20 66 69 65 |Result i|n cd fie|
|00003c20| 6c 64 20 22 41 6c 6c 22 | 0d 69 66 20 74 68 65 20 |ld "All"|.if the |
|00003c30| 66 6f 75 6e 64 4c 69 6e | 65 20 69 73 20 74 68 65 |foundLin|e is the|
|00003c40| 46 69 72 73 74 46 6f 75 | 6e 64 4c 69 6e 65 20 74 |FirstFou|ndLine t|
|00003c50| 68 65 6e 0d 69 66 20 74 | 68 65 20 66 6f 75 6e 64 |hen.if t|he found|
|00003c60| 43 68 75 6e 6b 20 69 73 | 20 6e 6f 74 20 74 68 65 |Chunk is| not the|
|00003c70| 46 69 72 73 74 46 6f 75 | 6e 64 43 68 75 6e 6b 20 |FirstFou|ndChunk |
|00003c80| 74 68 65 6e 20 2d 2d 20 | 74 68 65 20 6c 69 6e 65 |then -- |the line|
|00003c90| 20 63 6f 6e 74 61 69 6e | 73 20 6d 6f 72 65 20 74 | contain|s more t|
|00003ca0| 68 61 6e 20 6f 6e 65 20 | 69 6e 73 74 61 6e 63 65 |han one |instance|
|00003cb0| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 74 68 |.repeat |until th|
|00003cc0| 65 20 66 6f 75 6e 64 4c | 69 6e 65 20 69 73 20 6e |e foundL|ine is n|
|00003cd0| 6f 74 20 74 68 65 46 69 | 72 73 74 46 6f 75 6e 64 |ot theFi|rstFound|
|00003ce0| 4c 69 6e 65 0d 66 69 6e | 64 20 77 6f 72 64 20 74 |Line.fin|d word t|
|00003cf0| 68 65 52 65 73 75 6c 74 | 20 69 6e 20 63 64 20 66 |heResult| in cd f|
|00003d00| 69 65 6c 64 20 22 41 6c | 6c 22 0d 69 66 20 74 68 |ield "Al|l".if th|
|00003d10| 65 20 66 6f 75 6e 64 43 | 68 75 6e 6b 20 69 73 20 |e foundC|hunk is |
|00003d20| 74 68 65 46 69 72 73 74 | 46 6f 75 6e 64 43 68 75 |theFirst|FoundChu|
|00003d30| 6e 6b 20 74 68 65 6e 20 | 2d 2d 20 6e 6f 20 6f 74 |nk then |-- no ot|
|00003d40| 68 65 72 20 6c 69 6e 65 | 73 20 63 6f 6e 74 61 69 |her line|s contai|
|00003d50| 6e 20 69 74 0d 73 61 79 | 4f 6e 6c 79 4f 6e 65 4c |n it.say|OnlyOneL|
|00003d60| 69 6e 65 0d 73 65 6c 65 | 63 74 20 61 66 74 65 72 |ine.sele|ct after|
|00003d70| 20 74 68 65 20 66 6f 75 | 6e 64 43 68 75 6e 6b 0d | the fou|ndChunk.|
|00003d80| 65 78 69 74 20 73 68 6f | 77 54 68 69 73 43 68 61 |exit sho|wThisCha|
|00003d90| 72 61 63 74 65 72 0d 65 | 6e 64 20 69 66 0d 65 6e |racter.e|nd if.en|
|00003da0| 64 20 72 65 70 65 61 74 | 0d 65 6c 73 65 20 69 66 |d repeat|.else if|
|00003db0| 20 74 68 65 20 66 6f 75 | 6e 64 43 68 75 6e 6b 20 | the fou|ndChunk |
|00003dc0| 69 73 20 74 68 65 46 69 | 72 73 74 46 6f 75 6e 64 |is theFi|rstFound|
|00003dd0| 43 68 75 6e 6b 20 74 68 | 65 6e 20 2d 2d 20 6f 6e |Chunk th|en -- on|
|00003de0| 6c 79 20 6f 6e 65 20 69 | 6e 73 74 61 6e 63 65 2c |ly one i|nstance,|
|00003df0| 20 67 65 6e 75 69 6e 65 | 6c 79 0d 73 61 79 4f 6e | genuine|ly.sayOn|
|00003e00| 6c 79 4f 6e 65 4c 69 6e | 65 0d 73 65 6c 65 63 74 |lyOneLin|e.select|
|00003e10| 20 61 66 74 65 72 20 74 | 68 65 20 66 6f 75 6e 64 | after t|he found|
|00003e20| 43 68 75 6e 6b 0d 65 78 | 69 74 20 73 68 6f 77 54 |Chunk.ex|it showT|
|00003e30| 68 69 73 43 68 61 72 61 | 63 74 65 72 0d 65 6e 64 |hisChara|cter.end|
|00003e40| 20 69 66 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 74 | if.end |if.put t|
|00003e50| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |he value| of the |
|00003e60| 66 6f 75 6e 64 4c 69 6e | 65 20 69 6e 74 6f 20 74 |foundLin|e into t|
|00003e70| 68 65 20 73 65 63 6f 6e | 64 20 6c 69 6e 65 20 6f |he secon|d line o|
|00003e80| 66 20 74 68 65 43 68 61 | 72 61 63 74 65 72 4c 6f |f theCha|racterLo|
|00003e90| 67 0d 70 75 74 20 32 20 | 69 6e 74 6f 20 78 0d 70 |g.put 2 |into x.p|
|00003ea0| 75 74 20 74 68 65 20 66 | 6f 75 6e 64 4c 69 6e 65 |ut the f|oundLine|
|00003eb0| 20 69 6e 74 6f 20 74 68 | 65 50 72 65 76 69 6f 75 | into th|ePreviou|
|00003ec0| 73 46 6f 75 6e 64 4c 69 | 6e 65 0d 0d 72 65 70 65 |sFoundLi|ne..repe|
|00003ed0| 61 74 20 75 6e 74 69 6c | 20 74 68 65 20 66 6f 75 |at until| the fou|
|00003ee0| 6e 64 4c 69 6e 65 20 69 | 73 20 74 68 65 46 69 72 |ndLine i|s theFir|
|00003ef0| 73 74 46 6f 75 6e 64 4c | 69 6e 65 0d 66 69 6e 64 |stFoundL|ine.find|
|00003f00| 20 77 6f 72 64 20 74 68 | 65 52 65 73 75 6c 74 20 | word th|eResult |
|00003f10| 69 6e 20 63 64 20 66 69 | 65 6c 64 20 22 41 6c 6c |in cd fi|eld "All|
|00003f20| 22 0d 69 66 20 74 68 65 | 20 66 6f 75 6e 64 4c 69 |".if the| foundLi|
|00003f30| 6e 65 20 69 73 20 6e 6f | 74 20 74 68 65 50 72 65 |ne is no|t thePre|
|00003f40| 76 69 6f 75 73 46 6f 75 | 6e 64 4c 69 6e 65 20 74 |viousFou|ndLine t|
|00003f50| 68 65 6e 0d 70 75 74 20 | 78 20 2b 20 31 20 69 6e |hen.put |x + 1 in|
|00003f60| 74 6f 20 78 0d 70 75 74 | 20 74 68 65 20 76 61 6c |to x.put| the val|
|00003f70| 75 65 20 6f 66 20 74 68 | 65 20 66 6f 75 6e 64 4c |ue of th|e foundL|
|00003f80| 69 6e 65 20 69 6e 74 6f | 20 6c 69 6e 65 20 78 20 |ine into| line x |
|00003f90| 6f 66 20 74 68 65 43 68 | 61 72 61 63 74 65 72 4c |of theCh|aracterL|
|00003fa0| 6f 67 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 74 68 |og.end i|f.put th|
|00003fb0| 65 20 66 6f 75 6e 64 4c | 69 6e 65 20 69 6e 74 6f |e foundL|ine into|
|00003fc0| 20 74 68 65 50 72 65 76 | 69 6f 75 73 46 6f 75 6e | thePrev|iousFoun|
|00003fd0| 64 4c 69 6e 65 0d 65 6e | 64 20 72 65 70 65 61 74 |dLine.en|d repeat|
|00003fe0| 0d 70 75 74 20 74 68 65 | 20 76 61 6c 75 65 20 6f |.put the| value o|
|00003ff0| 66 20 74 68 65 46 69 72 | 73 74 46 6f 75 6e 64 4c |f theFir|stFoundL|
|00004000| 69 6e 65 20 69 6e 74 6f | 20 6c 69 6e 65 20 31 20 |ine into| line 1 |
|00004010| 6f 66 20 74 68 65 43 68 | 61 72 61 63 74 65 72 4c |of theCh|aracterL|
|00004020| 6f 67 0d 64 65 6c 65 74 | 65 20 74 68 65 20 6c 61 |og.delet|e the la|
|00004030| 73 74 20 6c 69 6e 65 20 | 6f 66 20 74 68 65 43 68 |st line |of theCh|
|00004040| 61 72 61 63 74 65 72 4c | 6f 67 20 2d 2d 20 74 68 |aracterL|og -- th|
|00004050| 61 74 27 73 20 74 68 65 | 20 6a 6f 62 20 64 6f 6e |at's the| job don|
|00004060| 65 20 6e 6f 77 0d 0d 73 | 65 6c 65 63 74 20 61 66 |e now..s|elect af|
|00004070| 74 65 72 20 74 68 65 20 | 66 6f 75 6e 64 43 68 75 |ter the |foundChu|
|00004080| 6e 6b 0d 70 75 74 20 74 | 68 65 43 68 61 72 61 63 |nk.put t|heCharac|
|00004090| 74 65 72 4c 6f 67 20 69 | 6e 74 6f 20 62 67 20 66 |terLog i|nto bg f|
|000040a0| 69 65 6c 64 20 22 43 68 | 61 72 61 63 74 65 72 73 |ield "Ch|aracters|
|000040b0| 22 0d 70 75 74 20 6e 75 | 6d 54 6f 43 68 61 72 28 |".put nu|mToChar(|
|000040c0| 31 33 29 20 26 20 6e 75 | 6d 54 6f 43 68 61 72 28 |13) & nu|mToChar(|
|000040d0| 31 33 29 20 69 6e 74 6f | 20 74 68 65 52 65 74 75 |13) into| theRetu|
|000040e0| 72 6e 43 68 61 72 0d 70 | 75 74 20 52 65 70 6c 61 |rnChar.p|ut Repla|
|000040f0| 63 65 28 62 67 20 66 69 | 65 6c 64 20 22 43 68 61 |ce(bg fi|eld "Cha|
|00004100| 72 61 63 74 65 72 73 22 | 2c 6e 75 6d 54 6f 43 68 |racters"|,numToCh|
|00004110| 61 72 28 31 33 29 2c 74 | 68 65 52 65 74 75 72 6e |ar(13),t|heReturn|
|00004120| 43 68 61 72 2c 74 72 75 | 65 29 c2 0d 69 6e 74 6f |Char,tru|e)..into|
|00004130| 20 62 67 20 66 69 65 6c | 64 20 22 43 68 61 72 61 | bg fiel|d "Chara|
|00004140| 63 74 65 72 73 22 0d 0d | 69 66 20 6e 75 6d 62 65 |cters"..|if numbe|
|00004150| 72 20 6f 66 20 77 69 6e | 64 6f 77 73 20 3e 20 31 |r of win|dows > 1|
|00004160| 20 74 68 65 6e 0d 72 65 | 70 65 61 74 20 77 69 74 | then.re|peat wit|
|00004170| 68 20 78 20 3d 20 31 20 | 74 6f 20 6e 75 6d 62 65 |h x = 1 |to numbe|
|00004180| 72 20 6f 66 20 77 69 6e | 64 6f 77 73 0d 70 75 74 |r of win|dows.put|
|00004190| 20 74 68 65 20 6f 77 6e | 65 72 20 6f 66 20 77 69 | the own|er of wi|
|000041a0| 6e 64 6f 77 20 78 20 69 | 6e 74 6f 20 74 68 65 4f |ndow x i|nto theO|
|000041b0| 77 6e 65 72 0d 69 66 20 | 74 68 65 4f 77 6e 65 72 |wner.if |theOwner|
|000041c0| 20 69 73 20 22 54 44 57 | 69 6e 64 6f 77 22 20 74 | is "TDW|indow" t|
|000041d0| 68 65 6e 0d 63 6c 6f 73 | 65 20 77 69 6e 64 6f 77 |hen.clos|e window|
|000041e0| 20 78 0d 65 78 69 74 20 | 72 65 70 65 61 74 0d 65 | x.exit |repeat.e|
|000041f0| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00004200| 0d 65 6e 64 20 69 66 0d | 67 65 74 20 74 68 65 20 |.end if.|get the |
|00004210| 73 63 72 65 65 6e 52 65 | 63 74 0d 70 75 74 20 28 |screenRe|ct.put (|
|00004220| 69 74 65 6d 20 33 20 6f | 66 20 69 74 20 2d 20 69 |item 3 o|f it - i|
|00004230| 74 65 6d 20 31 20 6f 66 | 20 69 74 29 20 69 6e 74 |tem 1 of| it) int|
|00004240| 6f 20 73 63 72 65 65 6e | 52 69 67 68 74 4d 61 78 |o screen|RightMax|
|00004250| 0d 70 75 74 20 28 69 74 | 65 6d 20 34 20 6f 66 20 |.put (it|em 4 of |
|00004260| 69 74 20 2d 20 69 74 65 | 6d 20 32 20 6f 66 20 69 |it - ite|m 2 of i|
|00004270| 74 29 20 69 6e 74 6f 20 | 73 63 72 65 65 6e 42 6f |t) into |screenBo|
|00004280| 74 74 6f 6d 4d 61 78 0d | 70 75 74 20 69 74 65 6d |ttomMax.|put item|
|00004290| 20 31 20 6f 66 20 74 68 | 65 20 72 65 63 74 20 6f | 1 of th|e rect o|
|000042a0| 66 20 63 61 72 64 20 77 | 69 6e 64 6f 77 20 69 6e |f card w|indow in|
|000042b0| 74 6f 20 63 61 72 64 4c | 65 66 74 0d 70 75 74 20 |to cardL|eft.put |
|000042c0| 69 74 65 6d 20 32 20 6f | 66 20 74 68 65 20 72 65 |item 2 o|f the re|
|000042d0| 63 74 20 6f 66 20 63 61 | 72 64 20 77 69 6e 64 6f |ct of ca|rd windo|
|000042e0| 77 20 69 6e 74 6f 20 63 | 61 72 64 54 6f 70 0d 70 |w into c|ardTop.p|
|000042f0| 75 74 20 63 61 72 64 4c | 65 66 74 20 69 6e 74 6f |ut cardL|eft into|
|00004300| 20 63 61 72 64 4c 65 66 | 74 0d 70 75 74 20 63 61 | cardLef|t.put ca|
|00004310| 72 64 54 6f 70 20 2b 20 | 31 38 20 69 6e 74 6f 20 |rdTop + |18 into |
|00004320| 63 61 72 64 54 6f 70 0d | 70 75 74 20 63 61 72 64 |cardTop.|put card|
|00004330| 4c 65 66 74 20 2b 20 34 | 38 30 20 69 6e 74 6f 20 |Left + 4|80 into |
|00004340| 63 61 72 64 52 69 67 68 | 74 0d 69 66 20 63 61 72 |cardRigh|t.if car|
|00004350| 64 52 69 67 68 74 20 3e | 20 73 63 72 65 65 6e 52 |dRight >| screenR|
|00004360| 69 67 68 74 4d 61 78 20 | 74 68 65 6e 20 70 75 74 |ightMax |then put|
|00004370| 20 73 63 72 65 65 6e 52 | 69 67 68 74 4d 61 78 20 | screenR|ightMax |
|00004380| 69 6e 74 6f 20 63 61 72 | 64 52 69 67 68 74 0d 69 |into car|dRight.i|
|00004390| 66 20 28 63 61 72 64 52 | 69 67 68 74 20 2d 20 33 |f (cardR|ight - 3|
|000043a0| 30 29 20 3c 20 63 61 72 | 64 4c 65 66 74 20 74 68 |0) < car|dLeft th|
|000043b0| 65 6e 20 70 75 74 20 28 | 73 63 72 65 65 6e 52 69 |en put (|screenRi|
|000043c0| 67 68 74 4d 61 78 20 2d | 20 34 38 30 29 20 69 6e |ghtMax -| 480) in|
|000043d0| 74 6f 20 63 61 72 64 4c | 65 66 74 0d 70 75 74 20 |to cardL|eft.put |
|000043e0| 73 63 72 65 65 6e 42 6f | 74 74 6f 6d 4d 61 78 20 |screenBo|ttomMax |
|000043f0| 2d 20 35 20 69 6e 74 6f | 20 63 61 72 64 42 6f 74 |- 5 into| cardBot|
|00004400| 74 6f 6d 0d 69 66 20 73 | 63 72 65 65 6e 42 6f 74 |tom.if s|creenBot|
|00004410| 74 6f 6d 4d 61 78 20 3e | 20 34 38 30 20 74 68 65 |tomMax >| 480 the|
|00004420| 6e 20 70 75 74 20 34 38 | 30 20 69 6e 74 6f 20 63 |n put 48|0 into c|
|00004430| 61 72 64 42 6f 74 74 6f | 6d 0d 70 75 74 20 63 61 |ardBotto|m.put ca|
|00004440| 72 64 4c 65 66 74 20 26 | 20 22 2c 22 20 26 20 63 |rdLeft &| "," & c|
|00004450| 61 72 64 54 6f 70 20 26 | 20 22 2c 22 20 26 20 63 |ardTop &| "," & c|
|00004460| 61 72 64 52 69 67 68 74 | 20 26 20 22 2c 22 20 26 |ardRight| & "," &|
|00004470| 20 63 61 72 64 42 6f 74 | 74 6f 6d 20 69 6e 74 6f | cardBot|tom into|
|00004480| 20 74 68 65 54 44 52 65 | 63 74 0d 54 44 57 69 6e | theTDRe|ct.TDWin|
|00004490| 64 6f 77 20 22 62 67 20 | 66 69 65 6c 64 20 43 68 |dow "bg |field Ch|
|000044a0| 61 72 61 63 74 65 72 73 | 22 2c 22 66 69 65 6c 64 |aracters|","field|
|000044b0| 22 2c 74 68 65 54 44 52 | 65 63 74 2c 74 68 65 52 |",theTDR|ect,theR|
|000044c0| 65 73 75 6c 74 0d 70 75 | 74 20 65 6d 70 74 79 20 |esult.pu|t empty |
|000044d0| 69 6e 74 6f 20 62 67 20 | 66 69 65 6c 64 20 22 43 |into bg |field "C|
|000044e0| 68 61 72 61 63 74 65 72 | 73 22 0d 65 6e 61 62 6c |haracter|s".enabl|
|000044f0| 65 20 6d 65 6e 75 49 74 | 65 6d 20 22 43 6c 6f 73 |e menuIt|em "Clos|
|00004500| 65 20 43 68 61 72 61 63 | 74 65 72 22 20 6f 66 20 |e Charac|ter" of |
|00004510| 6d 65 6e 75 20 22 46 69 | 6c 65 22 0d 70 75 74 20 |menu "Fi|le".put |
|00004520| 74 68 65 52 65 73 75 6c | 74 20 69 6e 74 6f 20 74 |theResul|t into t|
|00004530| 68 65 57 69 6e 64 6f 77 | 4e 61 6d 65 0d 65 6e 64 |heWindow|Name.end|
|00004540| 20 69 66 0d 65 6e 64 20 | 73 68 6f 77 54 68 69 73 | if.end |showThis|
|00004550| 43 68 61 72 61 63 74 65 | 72 0d 0d 0d 2d 2d 20 2a |Characte|r...-- *|
|00004560| 2a 2a 2a 2a 2a 20 64 6f | 54 68 65 53 63 72 6f 6c |***** do|TheScrol|
|00004570| 6c 20 2a 2a 2a 2a 2a 2a | 0d 0d 6f 6e 20 64 6f 54 |l ******|..on doT|
|00004580| 68 65 53 63 72 6f 6c 6c | 0d 73 68 6f 77 4c 6f 67 |heScroll|.showLog|
|00004590| 20 22 41 6c 6c 22 2c 31 | 0d 6c 6f 63 6b 20 73 63 | "All",1|.lock sc|
|000045a0| 72 65 65 6e 0d 70 75 74 | 20 74 68 65 20 73 63 72 |reen.put| the scr|
|000045b0| 6f 6c 6c 20 6f 66 20 63 | 64 20 66 69 65 6c 64 20 |oll of c|d field |
|000045c0| 22 41 6c 6c 22 20 69 6e | 74 6f 20 78 0d 70 75 74 |"All" in|to x.put|
|000045d0| 20 74 6f 74 61 6c 53 63 | 72 6f 6c 6c 28 22 41 6c | totalSc|roll("Al|
|000045e0| 6c 22 29 20 69 6e 74 6f | 20 74 68 65 45 6e 64 0d |l") into| theEnd.|
|000045f0| 69 66 20 74 68 65 45 6e | 64 20 69 73 20 30 20 74 |if theEn|d is 0 t|
|00004600| 68 65 6e 0d 62 65 65 70 | 0d 65 78 69 74 20 64 6f |hen.beep|.exit do|
|00004610| 54 68 65 53 63 72 6f 6c | 6c 0d 65 6e 64 20 69 66 |TheScrol|l.end if|
|00004620| 0d 73 65 74 20 74 68 65 | 20 73 63 72 6f 6c 6c 20 |.set the| scroll |
|00004630| 6f 66 20 63 64 20 66 69 | 65 6c 64 20 22 41 6c 6c |of cd fi|eld "All|
|00004640| 22 20 74 6f 20 78 0d 75 | 6e 6c 6f 63 6b 20 73 63 |" to x.u|nlock sc|
|00004650| 72 65 65 6e 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |reen.set| cursor |
|00004660| 74 6f 20 22 68 61 6e 64 | 22 0d 72 65 70 65 61 74 |to "hand|".repeat|
|00004670| 20 75 6e 74 69 6c 20 74 | 68 65 20 6d 6f 75 73 65 | until t|he mouse|
|00004680| 43 6c 69 63 6b 0d 73 65 | 74 20 74 68 65 20 73 63 |Click.se|t the sc|
|00004690| 72 6f 6c 6c 20 6f 66 20 | 63 64 20 66 69 65 6c 64 |roll of |cd field|
|000046a0| 20 22 41 6c 6c 22 20 74 | 6f 20 78 0d 77 61 69 74 | "All" t|o x.wait|
|000046b0| 20 31 0d 69 66 20 74 68 | 65 20 73 63 72 6f 6c 6c | 1.if th|e scroll|
|000046c0| 20 6f 66 20 63 64 20 66 | 69 65 6c 64 20 22 41 6c | of cd f|ield "Al|
|000046d0| 6c 22 20 69 73 20 30 20 | 74 68 65 6e 20 77 61 69 |l" is 0 |then wai|
|000046e0| 74 20 32 30 0d 69 66 20 | 74 68 65 20 73 63 72 6f |t 20.if |the scro|
|000046f0| 6c 6c 20 6f 66 20 63 64 | 20 66 69 65 6c 64 20 22 |ll of cd| field "|
|00004700| 41 6c 6c 22 20 69 73 20 | 6e 6f 74 20 74 68 65 45 |All" is |not theE|
|00004710| 6e 64 20 74 68 65 6e 0d | 70 75 74 20 78 20 2b 20 |nd then.|put x + |
|00004720| 31 20 69 6e 74 6f 20 78 | 0d 65 6c 73 65 20 70 75 |1 into x|.else pu|
|00004730| 74 20 30 20 69 6e 74 6f | 20 78 0d 65 6e 64 20 72 |t 0 into| x.end r|
|00004740| 65 70 65 61 74 0d 65 6e | 64 20 64 6f 54 68 65 53 |epeat.en|d doTheS|
|00004750| 63 72 6f 6c 6c 0d 0d 0d | 2d 2d 20 2a 2a 2a 2a 2a |croll...|-- *****|
|00004760| 2a 20 65 64 69 74 6f 72 | 73 20 65 6e 61 62 6c 69 |* editor|s enabli|
|00004770| 6e 67 20 61 6e 64 20 64 | 69 73 61 62 6c 69 6e 67 |ng and d|isabling|
|00004780| 20 2a 2a 2a 2a 2a 2a 0d | 0d 6f 6e 20 64 6f 45 6e | ******.|.on doEn|
|00004790| 61 62 6c 65 45 64 69 74 | 6f 72 73 0d 6c 6f 63 6b |ableEdit|ors.lock|
|000047a0| 20 73 63 72 65 65 6e 0d | 70 75 74 20 22 43 75 74 | screen.|put "Cut|
|000047b0| 2c 43 6f 70 79 2c 50 61 | 73 74 65 2c 43 6c 65 61 |,Copy,Pa|ste,Clea|
|000047c0| 72 2c 2d 22 20 61 66 74 | 65 72 20 6d 65 6e 75 49 |r,-" aft|er menuI|
|000047d0| 74 65 6d 20 32 20 6f 66 | 20 6d 65 6e 75 20 22 45 |tem 2 of| menu "E|
|000047e0| 64 69 74 22 20 77 69 74 | 68 20 6d 65 6e 75 4d 65 |dit" wit|h menuMe|
|000047f0| 73 73 61 67 65 73 20 22 | 6d 79 43 75 74 2c 6d 79 |ssages "|myCut,my|
|00004800| 43 6f 70 79 2c 6d 79 50 | 61 73 74 65 2c 6d 79 43 |Copy,myP|aste,myC|
|00004810| 6c 65 61 72 2c 2c 22 0d | 73 65 74 20 63 6f 6d 6d |lear,,".|set comm|
|00004820| 61 6e 64 43 68 61 72 20 | 6f 66 20 6d 65 6e 75 49 |andChar |of menuI|
|00004830| 74 65 6d 20 22 43 75 74 | 22 20 6f 66 20 6d 65 6e |tem "Cut|" of men|
|00004840| 75 20 22 45 64 69 74 22 | 20 74 6f 20 22 58 22 0d |u "Edit"| to "X".|
|00004850| 73 65 74 20 63 6f 6d 6d | 61 6e 64 43 68 61 72 20 |set comm|andChar |
|00004860| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 22 43 6f 70 |of menuI|tem "Cop|
|00004870| 79 22 20 6f 66 20 6d 65 | 6e 75 20 22 45 64 69 74 |y" of me|nu "Edit|
|00004880| 22 20 74 6f 20 22 43 22 | 0d 73 65 74 20 63 6f 6d |" to "C"|.set com|
|00004890| 6d 61 6e 64 43 68 61 72 | 20 6f 66 20 6d 65 6e 75 |mandChar| of menu|
|000048a0| 49 74 65 6d 20 22 50 61 | 73 74 65 22 20 6f 66 20 |Item "Pa|ste" of |
|000048b0| 6d 65 6e 75 20 22 45 64 | 69 74 22 20 74 6f 20 22 |menu "Ed|it" to "|
|000048c0| 56 22 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |V".unloc|k screen|
|000048d0| 0d 65 6e 64 20 64 6f 45 | 6e 61 62 6c 65 45 64 69 |.end doE|nableEdi|
|000048e0| 74 6f 72 73 0d 0d 6f 6e | 20 64 6f 44 69 73 61 62 |tors..on| doDisab|
|000048f0| 6c 65 45 64 69 74 6f 72 | 73 0d 6c 6f 63 6b 20 73 |leEditor|s.lock s|
|00004900| 63 72 65 65 6e 0d 64 69 | 73 61 62 6c 65 20 6d 65 |creen.di|sable me|
|00004910| 6e 75 49 74 65 6d 20 22 | 55 6e 64 6f 22 20 6f 66 |nuItem "|Undo" of|
|00004920| 20 6d 65 6e 75 20 22 45 | 64 69 74 22 0d 64 65 6c | menu "E|dit".del|
|00004930| 65 74 65 20 6d 65 6e 75 | 49 74 65 6d 20 37 20 6f |ete menu|Item 7 o|
|00004940| 66 20 6d 65 6e 75 20 22 | 45 64 69 74 22 0d 64 65 |f menu "|Edit".de|
|00004950| 6c 65 74 65 20 6d 65 6e | 75 49 74 65 6d 20 36 20 |lete men|uItem 6 |
|00004960| 6f 66 20 6d 65 6e 75 20 | 22 45 64 69 74 22 0d 64 |of menu |"Edit".d|
|00004970| 65 6c 65 74 65 20 6d 65 | 6e 75 49 74 65 6d 20 35 |elete me|nuItem 5|
|00004980| 20 6f 66 20 6d 65 6e 75 | 20 22 45 64 69 74 22 0d | of menu| "Edit".|
|00004990| 64 65 6c 65 74 65 20 6d | 65 6e 75 49 74 65 6d 20 |delete m|enuItem |
|000049a0| 34 20 6f 66 20 6d 65 6e | 75 20 22 45 64 69 74 22 |4 of men|u "Edit"|
|000049b0| 0d 64 65 6c 65 74 65 20 | 6d 65 6e 75 49 74 65 6d |.delete |menuItem|
|000049c0| 20 33 20 6f 66 20 6d 65 | 6e 75 20 22 45 64 69 74 | 3 of me|nu "Edit|
|000049d0| 22 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |".unlock| screen.|
|000049e0| 65 6e 64 20 64 6f 44 69 | 73 61 62 6c 65 45 64 69 |end doDi|sableEdi|
|000049f0| 74 6f 72 73 0d 0d 0d 2d | 2d 20 2a 2a 2a 2a 2a 2a |tors...-|- ******|
|00004a00| 20 68 61 6e 64 6c 65 72 | 73 20 66 6f 72 20 66 6f | handler|s for fo|
|00004a10| 6e 74 2c 20 73 74 79 6c | 65 2c 20 61 6e 64 20 73 |nt, styl|e, and s|
|00004a20| 69 7a 65 20 6d 65 6e 75 | 20 69 74 65 6d 73 20 2a |ize menu| items *|
|00004a30| 2a 2a 2a 2a 2a 0d 0d 6f | 6e 20 64 6f 4d 65 6e 75 |*****..o|n doMenu|
|00004a40| 20 77 68 69 63 68 0d 67 | 6c 6f 62 61 6c 20 74 68 | which.g|lobal th|
|00004a50| 65 49 74 65 6d 0d 69 66 | 20 77 68 69 63 68 20 3d |eItem.if| which =|
|00004a60| 20 22 43 68 69 63 61 67 | 6f 22 20 74 68 65 6e 20 | "Chicag|o" then |
|00004a70| 73 65 74 46 6f 6e 74 20 | 22 43 68 69 63 61 67 6f |setFont |"Chicago|
|00004a80| 22 0d 69 66 20 77 68 69 | 63 68 20 3d 20 22 43 6f |".if whi|ch = "Co|
|00004a90| 75 72 69 65 72 22 20 74 | 68 65 6e 20 73 65 74 46 |urier" t|hen setF|
|00004aa0| 6f 6e 74 20 22 43 6f 75 | 72 69 65 72 22 0d 69 66 |ont "Cou|rier".if|
|00004ab0| 20 77 68 69 63 68 20 3d | 20 22 47 65 6e 65 76 61 | which =| "Geneva|
|00004ac0| 22 20 74 68 65 6e 20 73 | 65 74 46 6f 6e 74 20 22 |" then s|etFont "|
|00004ad0| 47 65 6e 65 76 61 22 0d | 69 66 20 77 68 69 63 68 |Geneva".|if which|
|00004ae0| 20 3d 20 22 48 65 6c 76 | 65 74 69 63 61 22 20 74 | = "Helv|etica" t|
|00004af0| 68 65 6e 20 73 65 74 46 | 6f 6e 74 20 22 48 65 6c |hen setF|ont "Hel|
|00004b00| 76 65 74 69 63 61 22 0d | 69 66 20 77 68 69 63 68 |vetica".|if which|
|00004b10| 20 3d 20 22 4d 6f 6e 61 | 63 6f 22 20 74 68 65 6e | = "Mona|co" then|
|00004b20| 20 73 65 74 46 6f 6e 74 | 20 22 4d 6f 6e 61 63 6f | setFont| "Monaco|
|00004b30| 22 0d 69 66 20 77 68 69 | 63 68 20 3d 20 22 4e 65 |".if whi|ch = "Ne|
|00004b40| 77 20 59 6f 72 6b 22 20 | 74 68 65 6e 20 73 65 74 |w York" |then set|
|00004b50| 46 6f 6e 74 20 22 4e 65 | 77 20 59 6f 72 6b 22 0d |Font "Ne|w York".|
|00004b60| 69 66 20 77 68 69 63 68 | 20 3d 20 22 50 61 6c 61 |if which| = "Pala|
|00004b70| 74 69 6e 6f 22 20 74 68 | 65 6e 20 73 65 74 46 6f |tino" th|en setFo|
|00004b80| 6e 74 20 22 50 61 6c 61 | 74 69 6e 6f 22 0d 69 66 |nt "Pala|tino".if|
|00004b90| 20 77 68 69 63 68 20 3d | 20 22 53 79 6d 62 6f 6c | which =| "Symbol|
|00004ba0| 22 20 74 68 65 6e 20 73 | 65 74 46 6f 6e 74 20 22 |" then s|etFont "|
|00004bb0| 53 79 6d 62 6f 6c 22 0d | 69 66 20 77 68 69 63 68 |Symbol".|if which|
|00004bc0| 20 3d 20 22 54 69 6d 65 | 73 22 20 74 68 65 6e 20 | = "Time|s" then |
|00004bd0| 73 65 74 46 6f 6e 74 20 | 22 54 69 6d 65 73 22 0d |setFont |"Times".|
|00004be0| 67 75 65 73 73 53 74 79 | 6c 65 20 22 50 6c 61 69 |guessSty|le "Plai|
|00004bf0| 6e 22 2c 20 77 68 69 63 | 68 0d 67 75 65 73 73 53 |n", whic|h.guessS|
|00004c00| 74 79 6c 65 20 22 42 6f | 6c 64 22 2c 20 77 68 69 |tyle "Bo|ld", whi|
|00004c10| 63 68 0d 67 75 65 73 73 | 53 74 79 6c 65 20 22 49 |ch.guess|Style "I|
|00004c20| 74 61 6c 69 63 22 2c 20 | 77 68 69 63 68 0d 67 75 |talic", |which.gu|
|00004c30| 65 73 73 53 74 79 6c 65 | 20 22 55 6e 64 65 72 6c |essStyle| "Underl|
|00004c40| 69 6e 65 22 2c 20 77 68 | 69 63 68 0d 67 75 65 73 |ine", wh|ich.gues|
|00004c50| 73 53 74 79 6c 65 20 22 | 4f 75 74 6c 69 6e 65 22 |sStyle "|Outline"|
|00004c60| 2c 20 77 68 69 63 68 0d | 67 75 65 73 73 53 74 79 |, which.|guessSty|
|00004c70| 6c 65 20 22 53 68 61 64 | 6f 77 22 2c 20 77 68 69 |le "Shad|ow", whi|
|00004c80| 63 68 0d 67 75 65 73 73 | 53 74 79 6c 65 20 22 43 |ch.guess|Style "C|
|00004c90| 6f 6e 64 65 6e 73 65 22 | 2c 20 77 68 69 63 68 0d |ondense"|, which.|
|00004ca0| 67 75 65 73 73 53 74 79 | 6c 65 20 22 45 78 74 65 |guessSty|le "Exte|
|00004cb0| 6e 64 22 2c 20 77 68 69 | 63 68 0d 69 66 20 77 68 |nd", whi|ch.if wh|
|00004cc0| 69 63 68 20 3d 20 22 39 | 22 20 74 68 65 6e 20 73 |ich = "9|" then s|
|00004cd0| 65 74 53 69 7a 65 20 39 | 0d 69 66 20 77 68 69 63 |etSize 9|.if whic|
|00004ce0| 68 20 3d 20 22 31 30 22 | 20 74 68 65 6e 20 73 65 |h = "10"| then se|
|00004cf0| 74 53 69 7a 65 20 31 30 | 0d 69 66 20 77 68 69 63 |tSize 10|.if whic|
|00004d00| 68 20 3d 20 22 31 32 22 | 20 74 68 65 6e 20 73 65 |h = "12"| then se|
|00004d10| 74 53 69 7a 65 20 31 32 | 0d 69 66 20 77 68 69 63 |tSize 12|.if whic|
|00004d20| 68 20 3d 20 22 31 34 22 | 20 74 68 65 6e 20 73 65 |h = "14"| then se|
|00004d30| 74 53 69 7a 65 20 31 34 | 0d 69 66 20 77 68 69 63 |tSize 14|.if whic|
|00004d40| 68 20 3d 20 22 31 38 22 | 20 74 68 65 6e 20 73 65 |h = "18"| then se|
|00004d50| 74 53 69 7a 65 20 31 38 | 0d 70 61 73 73 20 64 6f |tSize 18|.pass do|
|00004d60| 4d 65 6e 75 0d 65 6e 64 | 20 64 6f 4d 65 6e 75 0d |Menu.end| doMenu.|
|00004d70| 0d 2d 2d 20 68 61 6e 64 | 6c 65 72 73 20 63 61 6c |.-- hand|lers cal|
|00004d80| 6c 65 64 20 62 79 20 74 | 68 65 20 61 62 6f 76 65 |led by t|he above|
|00004d90| 20 64 6f 4d 65 6e 75 20 | 68 61 6e 64 6c 65 72 0d | doMenu |handler.|
|00004da0| 0d 6f 6e 20 67 75 65 73 | 73 53 74 79 6c 65 20 6d |.on gues|sStyle m|
|00004db0| 69 4e 61 6d 65 2c 20 74 | 68 65 57 68 69 63 68 0d |iName, t|heWhich.|
|00004dc0| 67 6c 6f 62 61 6c 20 74 | 68 65 49 74 65 6d 2c 20 |global t|heItem, |
|00004dd0| 77 68 69 63 68 0d 69 66 | 20 74 68 65 57 68 69 63 |which.if| theWhic|
|00004de0| 68 20 3d 20 6d 69 4e 61 | 6d 65 20 74 68 65 6e 0d |h = miNa|me then.|
|00004df0| 73 74 6f 72 65 53 74 79 | 6c 65 20 6d 69 4e 61 6d |storeSty|le miNam|
|00004e00| 65 0d 63 68 65 63 6b 54 | 68 65 49 74 65 6d 0d 65 |e.checkT|heItem.e|
|00004e10| 6e 64 20 69 66 0d 65 6e | 64 20 67 75 65 73 73 53 |nd if.en|d guessS|
|00004e20| 74 79 6c 65 0d 0d 6f 6e | 20 73 74 6f 72 65 53 74 |tyle..on| storeSt|
|00004e30| 79 6c 65 20 74 68 65 53 | 74 79 6c 65 0d 67 6c 6f |yle theS|tyle.glo|
|00004e40| 62 61 6c 20 74 68 65 49 | 74 65 6d 0d 70 75 74 20 |bal theI|tem.put |
|00004e50| 22 6d 65 6e 75 49 74 65 | 6d 22 26 26 71 75 6f 74 |"menuIte|m"&&quot|
|00004e60| 65 26 20 74 68 65 53 74 | 79 6c 65 20 26 71 75 6f |e& theSt|yle &quo|
|00004e70| 74 65 26 26 22 6f 66 20 | 4d 65 6e 75 22 26 26 71 |te&&"of |Menu"&&q|
|00004e80| 75 6f 74 65 26 53 74 79 | 6c 65 26 71 75 6f 74 65 |uote&Sty|le&quote|
|00004e90| 20 69 6e 74 6f 20 74 68 | 65 49 74 65 6d 0d 65 6e | into th|eItem.en|
|00004ea0| 64 20 73 74 6f 72 65 53 | 74 79 6c 65 0d 0d 6f 6e |d storeS|tyle..on|
|00004eb0| 20 63 68 65 63 6b 54 68 | 65 49 74 65 6d 0d 67 6c | checkTh|eItem.gl|
|00004ec0| 6f 62 61 6c 20 74 68 65 | 49 74 65 6d 0d 69 66 20 |obal the|Item.if |
|00004ed0| 63 68 65 63 6b 4d 61 72 | 6b 20 6f 66 20 74 68 65 |checkMar|k of the|
|00004ee0| 49 74 65 6d 20 69 73 20 | 74 72 75 65 20 74 68 65 |Item is |true the|
|00004ef0| 6e 0d 73 65 74 20 63 68 | 65 63 6b 4d 61 72 6b 20 |n.set ch|eckMark |
|00004f00| 6f 66 20 74 68 65 49 74 | 65 6d 20 74 6f 20 66 61 |of theIt|em to fa|
|00004f10| 6c 73 65 0d 65 6c 73 65 | 20 69 66 20 63 68 65 63 |lse.else| if chec|
|00004f20| 6b 4d 61 72 6b 20 6f 66 | 20 74 68 65 49 74 65 6d |kMark of| theItem|
|00004f30| 20 69 73 20 66 61 6c 73 | 65 20 74 68 65 6e 0d 73 | is fals|e then.s|
|00004f40| 65 74 20 63 68 65 63 6b | 4d 61 72 6b 20 6f 66 20 |et check|Mark of |
|00004f50| 6d 65 6e 75 49 74 65 6d | 20 31 20 6f 66 20 6d 65 |menuItem| 1 of me|
|00004f60| 6e 75 20 22 53 74 79 6c | 65 22 20 74 6f 20 66 61 |nu "Styl|e" to fa|
|00004f70| 6c 73 65 0d 73 65 74 20 | 63 68 65 63 6b 4d 61 72 |lse.set |checkMar|
|00004f80| 6b 20 6f 66 20 74 68 65 | 49 74 65 6d 20 74 6f 20 |k of the|Item to |
|00004f90| 74 72 75 65 0d 65 6e 64 | 20 69 66 0d 62 75 69 6c |true.end| if.buil|
|00004fa0| 64 53 74 79 6c 65 54 61 | 6e 6b 0d 65 6e 64 20 63 |dStyleTa|nk.end c|
|00004fb0| 68 65 63 6b 54 68 65 49 | 74 65 6d 0d 0d 6f 6e 20 |heckTheI|tem..on |
|00004fc0| 62 75 69 6c 64 53 74 79 | 6c 65 54 61 6e 6b 0d 67 |buildSty|leTank.g|
|00004fd0| 6c 6f 62 61 6c 20 74 68 | 65 49 74 65 6d 2c 20 73 |lobal th|eItem, s|
|00004fe0| 74 79 6c 65 54 61 6e 6b | 0d 69 66 20 63 68 65 63 |tyleTank|.if chec|
|00004ff0| 6b 4d 61 72 6b 20 6f 66 | 20 6d 65 6e 75 49 74 65 |kMark of| menuIte|
|00005000| 6d 20 22 50 6c 61 69 6e | 22 20 6f 66 20 6d 65 6e |m "Plain|" of men|
|00005010| 75 20 22 53 74 79 6c 65 | 22 20 69 73 20 74 72 75 |u "Style|" is tru|
|00005020| 65 20 74 68 65 6e 0d 70 | 75 74 20 22 50 6c 61 69 |e then.p|ut "Plai|
|00005030| 6e 22 20 69 6e 74 6f 20 | 73 74 79 6c 65 54 61 6e |n" into |styleTan|
|00005040| 6b 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |k.repeat| with x |
|00005050| 3d 20 32 20 74 6f 20 38 | 0d 73 65 74 20 63 68 65 |= 2 to 8|.set che|
|00005060| 63 6b 4d 61 72 6b 20 6f | 66 20 6d 65 6e 75 49 74 |ckMark o|f menuIt|
|00005070| 65 6d 20 78 20 6f 66 20 | 6d 65 6e 75 20 22 53 74 |em x of |menu "St|
|00005080| 79 6c 65 22 20 74 6f 20 | 66 61 6c 73 65 0d 65 6e |yle" to |false.en|
|00005090| 64 20 72 65 70 65 61 74 | 0d 65 6c 73 65 20 70 75 |d repeat|.else pu|
|000050a0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 73 74 79 |t empty |into sty|
|000050b0| 6c 65 54 61 6e 6b 0d 73 | 74 79 6c 65 54 61 6e 6b |leTank.s|tyleTank|
|000050c0| 42 75 69 6c 64 65 72 20 | 32 2c 20 22 42 6f 6c 64 |Builder |2, "Bold|
|000050d0| 22 0d 73 74 79 6c 65 54 | 61 6e 6b 42 75 69 6c 64 |".styleT|ankBuild|
|000050e0| 65 72 20 33 2c 20 22 49 | 74 61 6c 69 63 22 0d 73 |er 3, "I|talic".s|
|000050f0| 74 79 6c 65 54 61 6e 6b | 42 75 69 6c 64 65 72 20 |tyleTank|Builder |
|00005100| 34 2c 20 22 55 6e 64 65 | 72 6c 69 6e 65 22 0d 73 |4, "Unde|rline".s|
|00005110| 74 79 6c 65 54 61 6e 6b | 42 75 69 6c 64 65 72 20 |tyleTank|Builder |
|00005120| 35 2c 20 22 4f 75 74 6c | 69 6e 65 22 0d 73 74 79 |5, "Outl|ine".sty|
|00005130| 6c 65 54 61 6e 6b 42 75 | 69 6c 64 65 72 20 36 2c |leTankBu|ilder 6,|
|00005140| 20 22 53 68 61 64 6f 77 | 22 0d 73 74 79 6c 65 54 | "Shadow|".styleT|
|00005150| 61 6e 6b 42 75 69 6c 64 | 65 72 20 37 2c 20 22 43 |ankBuild|er 7, "C|
|00005160| 6f 6e 64 65 6e 73 65 22 | 0d 73 74 79 6c 65 54 61 |ondense"|.styleTa|
|00005170| 6e 6b 42 75 69 6c 64 65 | 72 20 38 2c 20 22 45 78 |nkBuilde|r 8, "Ex|
|00005180| 74 65 6e 64 22 0d 69 66 | 20 73 74 79 6c 65 54 61 |tend".if| styleTa|
|00005190| 6e 6b 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |nk is em|pty then|
|000051a0| 0d 70 75 74 20 22 50 6c | 61 69 6e 22 20 69 6e 74 |.put "Pl|ain" int|
|000051b0| 6f 20 73 74 79 6c 65 54 | 61 6e 6b 0d 73 65 74 20 |o styleT|ank.set |
|000051c0| 63 68 65 63 6b 4d 61 72 | 6b 20 6f 66 20 6d 65 6e |checkMar|k of men|
|000051d0| 75 49 74 65 6d 20 31 20 | 6f 66 20 6d 65 6e 75 20 |uItem 1 |of menu |
|000051e0| 22 53 74 79 6c 65 22 20 | 74 6f 20 74 72 75 65 0d |"Style" |to true.|
|000051f0| 65 6e 64 20 69 66 0d 73 | 65 74 53 74 79 6c 65 20 |end if.s|etStyle |
|00005200| 73 74 79 6c 65 54 61 6e | 6b 0d 65 6e 64 20 62 75 |styleTan|k.end bu|
|00005210| 69 6c 64 53 74 79 6c 65 | 54 61 6e 6b 0d 0d 6f 6e |ildStyle|Tank..on|
|00005220| 20 73 74 79 6c 65 54 61 | 6e 6b 42 75 69 6c 64 65 | styleTa|nkBuilde|
|00005230| 72 20 6d 69 4e 75 6d 62 | 65 72 2c 20 6d 69 4e 61 |r miNumb|er, miNa|
|00005240| 6d 65 0d 67 6c 6f 62 61 | 6c 20 73 74 79 6c 65 54 |me.globa|l styleT|
|00005250| 61 6e 6b 0d 69 66 20 63 | 68 65 63 6b 4d 61 72 6b |ank.if c|heckMark|
|00005260| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 6d 69 4e | of menu|Item miN|
|00005270| 75 6d 62 65 72 20 6f 66 | 20 6d 65 6e 75 20 22 53 |umber of| menu "S|
|00005280| 74 79 6c 65 22 20 69 73 | 20 74 72 75 65 20 74 68 |tyle" is| true th|
|00005290| 65 6e 0d 69 66 20 73 74 | 79 6c 65 54 61 6e 6b 20 |en.if st|yleTank |
|000052a0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|000052b0| 74 20 6d 69 4e 61 6d 65 | 20 69 6e 74 6f 20 73 74 |t miName| into st|
|000052c0| 79 6c 65 54 61 6e 6b 0d | 65 6c 73 65 20 70 75 74 |yleTank.|else put|
|000052d0| 20 22 2c 20 22 20 26 20 | 6d 69 4e 61 6d 65 20 61 | ", " & |miName a|
|000052e0| 66 74 65 72 20 73 74 79 | 6c 65 54 61 6e 6b 0d 65 |fter sty|leTank.e|
|000052f0| 6e 64 20 69 66 0d 65 6e | 64 20 73 74 79 6c 65 54 |nd if.en|d styleT|
|00005300| 61 6e 6b 42 75 69 6c 64 | 65 72 0d 0d 2d 2d 2d 2d |ankBuild|er..----|
|00005310| 2d 2d 2d 2d 20 61 63 74 | 75 61 6c 20 73 65 74 74 |---- act|ual sett|
|00005320| 69 6e 67 20 6f 66 20 66 | 6f 6e 74 2c 20 73 74 79 |ing of f|ont, sty|
|00005330| 6c 65 20 61 6e 64 20 73 | 69 7a 65 0d 0d 2d 2d 20 |le and s|ize..-- |
|00005340| 2a 2a 2a 2a 2a 2a 20 66 | 6f 6e 74 73 20 2a 2a 2a |****** f|onts ***|
|00005350| 2a 2a 2a 0d 0d 6f 6e 20 | 73 65 74 46 6f 6e 74 20 |***..on |setFont |
|00005360| 74 68 65 46 6f 6e 74 0d | 67 6c 6f 62 61 6c 20 70 |theFont.|global p|
|00005370| 68 2c 20 7a 0d 72 65 70 | 65 61 74 20 77 69 74 68 |h, z.rep|eat with|
|00005380| 20 78 20 3d 20 31 20 74 | 6f 20 37 0d 73 65 74 20 | x = 1 t|o 7.set |
|00005390| 74 68 65 20 74 65 78 74 | 46 6f 6e 74 20 6f 66 20 |the text|Font of |
|000053a0| 63 64 20 66 69 65 6c 64 | 20 78 20 74 6f 20 74 68 |cd field| x to th|
|000053b0| 65 46 6f 6e 74 0d 73 65 | 74 46 6f 6e 74 43 68 65 |eFont.se|tFontChe|
|000053c0| 63 6b 73 4f 66 66 0d 73 | 65 74 20 74 68 65 20 63 |cksOff.s|et the c|
|000053d0| 68 65 63 6b 4d 61 72 6b | 20 6f 66 20 6d 65 6e 75 |heckMark| of menu|
|000053e0| 49 74 65 6d 20 74 68 65 | 46 6f 6e 74 20 6f 66 20 |Item the|Font of |
|000053f0| 6d 65 6e 75 20 22 46 6f | 6e 74 22 20 74 6f 20 74 |menu "Fo|nt" to t|
|00005400| 72 75 65 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 73 |rue.end |repeat.s|
|00005410| 65 74 20 74 68 65 20 74 | 65 78 74 46 6f 6e 74 20 |et the t|extFont |
|00005420| 6f 66 20 62 67 20 66 69 | 65 6c 64 20 31 20 74 6f |of bg fi|eld 1 to|
|00005430| 20 74 68 65 46 6f 6e 74 | 0d 67 65 74 50 61 67 65 | theFont|.getPage|
|00005440| 48 65 69 67 68 74 0d 67 | 65 74 54 65 78 74 48 65 |Height.g|etTextHe|
|00005450| 69 67 68 74 0d 65 6e 64 | 20 73 65 74 46 6f 6e 74 |ight.end| setFont|
|00005460| 0d 0d 2d 2d 20 2a 2a 2a | 2a 2a 2a 20 73 74 79 6c |..-- ***|*** styl|
|00005470| 65 73 20 2a 2a 2a 2a 2a | 2a 0d 0d 6f 6e 20 73 65 |es *****|*..on se|
|00005480| 74 53 74 79 6c 65 20 74 | 68 65 53 74 79 6c 65 73 |tStyle t|heStyles|
|00005490| 0d 67 6c 6f 62 61 6c 20 | 70 68 2c 20 7a 0d 72 65 |.global |ph, z.re|
|000054a0| 70 65 61 74 20 77 69 74 | 68 20 78 20 3d 20 31 20 |peat wit|h x = 1 |
|000054b0| 74 6f 20 37 0d 73 65 74 | 20 74 68 65 20 74 65 78 |to 7.set| the tex|
|000054c0| 74 53 74 79 6c 65 20 6f | 66 20 63 64 20 66 69 65 |tStyle o|f cd fie|
|000054d0| 6c 64 20 78 20 74 6f 20 | 74 68 65 53 74 79 6c 65 |ld x to |theStyle|
|000054e0| 73 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 73 65 74 |s.end re|peat.set|
|000054f0| 20 74 68 65 20 74 65 78 | 74 53 74 79 6c 65 20 6f | the tex|tStyle o|
|00005500| 66 20 62 67 20 66 69 65 | 6c 64 20 31 20 74 6f 20 |f bg fie|ld 1 to |
|00005510| 74 68 65 53 74 79 6c 65 | 73 0d 67 65 74 50 61 67 |theStyle|s.getPag|
|00005520| 65 48 65 69 67 68 74 0d | 67 65 74 54 65 78 74 48 |eHeight.|getTextH|
|00005530| 65 69 67 68 74 0d 65 6e | 64 20 73 65 74 53 74 79 |eight.en|d setSty|
|00005540| 6c 65 0d 0d 2d 2d 20 2a | 2a 2a 2a 2a 2a 20 73 69 |le..-- *|***** si|
|00005550| 7a 65 73 20 2a 2a 2a 2a | 2a 2a 0d 0d 6f 6e 20 73 |zes ****|**..on s|
|00005560| 65 74 53 69 7a 65 20 74 | 68 65 53 69 7a 65 0d 67 |etSize t|heSize.g|
|00005570| 6c 6f 62 61 6c 20 70 68 | 2c 20 7a 0d 72 65 70 65 |lobal ph|, z.repe|
|00005580| 61 74 20 77 69 74 68 20 | 78 20 3d 20 31 20 74 6f |at with |x = 1 to|
|00005590| 20 37 0d 73 65 74 20 74 | 68 65 20 74 65 78 74 53 | 7.set t|he textS|
|000055a0| 69 7a 65 20 6f 66 20 63 | 64 20 66 69 65 6c 64 20 |ize of c|d field |
|000055b0| 78 20 74 6f 20 74 68 65 | 53 69 7a 65 0d 65 6e 64 |x to the|Size.end|
|000055c0| 20 72 65 70 65 61 74 0d | 73 65 74 20 74 68 65 20 | repeat.|set the |
|000055d0| 74 65 78 74 53 69 7a 65 | 20 6f 66 20 62 67 20 66 |textSize| of bg f|
|000055e0| 69 65 6c 64 20 31 20 74 | 6f 20 74 68 65 53 69 7a |ield 1 t|o theSiz|
|000055f0| 65 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |e.repeat| with x |
|00005600| 3d 20 31 30 20 74 6f 20 | 31 34 0d 73 65 74 20 63 |= 10 to |14.set c|
|00005610| 68 65 63 6b 4d 61 72 6b | 20 6f 66 20 6d 65 6e 75 |heckMark| of menu|
|00005620| 49 74 65 6d 20 78 20 6f | 66 20 6d 65 6e 75 20 22 |Item x o|f menu "|
|00005630| 53 74 79 6c 65 22 20 74 | 6f 20 66 61 6c 73 65 0d |Style" t|o false.|
|00005640| 65 6e 64 20 72 65 70 65 | 61 74 0d 69 66 20 74 68 |end repe|at.if th|
|00005650| 65 53 69 7a 65 20 69 73 | 20 39 20 74 68 65 6e 20 |eSize is| 9 then |
|00005660| 70 75 74 20 31 30 20 69 | 6e 74 6f 20 74 68 65 53 |put 10 i|nto theS|
|00005670| 69 7a 65 49 74 65 6d 0d | 69 66 20 74 68 65 53 69 |izeItem.|if theSi|
|00005680| 7a 65 20 69 73 20 31 30 | 20 74 68 65 6e 20 70 75 |ze is 10| then pu|
|00005690| 74 20 31 31 20 69 6e 74 | 6f 20 74 68 65 53 69 7a |t 11 int|o theSiz|
|000056a0| 65 49 74 65 6d 0d 69 66 | 20 74 68 65 53 69 7a 65 |eItem.if| theSize|
|000056b0| 20 69 73 20 31 32 20 74 | 68 65 6e 20 70 75 74 20 | is 12 t|hen put |
|000056c0| 31 32 20 69 6e 74 6f 20 | 74 68 65 53 69 7a 65 49 |12 into |theSizeI|
|000056d0| 74 65 6d 0d 69 66 20 74 | 68 65 53 69 7a 65 20 69 |tem.if t|heSize i|
|000056e0| 73 20 31 34 20 74 68 65 | 6e 20 70 75 74 20 31 33 |s 14 the|n put 13|
|000056f0| 20 69 6e 74 6f 20 74 68 | 65 53 69 7a 65 49 74 65 | into th|eSizeIte|
|00005700| 6d 0d 69 66 20 74 68 65 | 53 69 7a 65 20 69 73 20 |m.if the|Size is |
|00005710| 31 38 20 74 68 65 6e 20 | 70 75 74 20 31 34 20 69 |18 then |put 14 i|
|00005720| 6e 74 6f 20 74 68 65 53 | 69 7a 65 49 74 65 6d 0d |nto theS|izeItem.|
|00005730| 73 65 74 20 63 68 65 63 | 6b 4d 61 72 6b 20 6f 66 |set chec|kMark of|
|00005740| 20 6d 65 6e 75 49 74 65 | 6d 20 74 68 65 53 69 7a | menuIte|m theSiz|
|00005750| 65 49 74 65 6d 20 6f 66 | 20 6d 65 6e 75 20 22 53 |eItem of| menu "S|
|00005760| 74 79 6c 65 22 20 74 6f | 20 74 72 75 65 0d 67 65 |tyle" to| true.ge|
|00005770| 74 50 61 67 65 48 65 69 | 67 68 74 0d 67 65 74 54 |tPageHei|ght.getT|
|00005780| 65 78 74 48 65 69 67 68 | 74 0d 65 6e 64 20 73 65 |extHeigh|t.end se|
|00005790| 74 53 69 7a 65 0d 0d 2d | 2d 20 2a 2a 2a 2a 2a 2a |tSize..-|- ******|
|000057a0| 20 66 6f 6e 74 20 63 68 | 65 63 6b 69 6e 67 20 2a | font ch|ecking *|
|000057b0| 2a 2a 2a 2a 2a 2a 0d 0d | 6f 6e 20 73 65 74 46 6f |******..|on setFo|
|000057c0| 6e 74 43 68 65 63 6b 73 | 4f 66 66 0d 72 65 70 65 |ntChecks|Off.repe|
|000057d0| 61 74 20 77 69 74 68 20 | 78 20 3d 20 31 20 74 6f |at with |x = 1 to|
|000057e0| 20 39 0d 73 65 74 20 74 | 68 65 20 63 68 65 63 6b | 9.set t|he check|
|000057f0| 4d 61 72 6b 20 6f 66 20 | 6d 65 6e 75 49 74 65 6d |Mark of |menuItem|
|00005800| 20 78 20 6f 66 20 6d 65 | 6e 75 20 22 46 6f 6e 74 | x of me|nu "Font|
|00005810| 22 20 74 6f 20 66 61 6c | 73 65 0d 65 6e 64 20 72 |" to fal|se.end r|
|00005820| 65 70 65 61 74 0d 65 6e | 64 20 73 65 74 46 6f 6e |epeat.en|d setFon|
|00005830| 74 43 68 65 63 6b 73 4f | 66 66 0d 0d 0d 2d 2d 0d |tChecksO|ff...--.|
|00005840| 2d 2d 20 48 45 4c 50 45 | 52 53 0d 2d 2d 0d 0d 0d |-- HELPE|RS.--...|
|00005850| 2d 2d 20 2a 2a 2a 2a 2a | 2a 20 64 69 61 6c 6f 67 |-- *****|* dialog|
|00005860| 73 20 2a 2a 2a 2a 2a 0d | 0d 6f 6e 20 77 69 74 68 |s *****.|.on with|
|00005870| 44 69 61 6c 6f 67 50 72 | 6f 6d 70 74 20 74 68 65 |DialogPr|ompt the|
|00005880| 50 72 6f 6d 70 74 53 74 | 72 69 6e 67 2c 20 61 6e |PromptSt|ring, an|
|00005890| 79 44 65 66 61 75 6c 74 | 54 65 78 74 0d 67 6c 6f |yDefault|Text.glo|
|000058a0| 62 61 6c 20 74 68 65 52 | 65 73 75 6c 74 0d 64 6f |bal theR|esult.do|
|000058b0| 45 6e 61 62 6c 65 45 64 | 69 74 6f 72 73 0d 53 68 |EnableEd|itors.Sh|
|000058c0| 6f 77 44 69 61 6c 6f 67 | 20 32 2c 31 30 31 32 39 |owDialog| 2,10129|
|000058d0| 2c 74 68 65 50 72 6f 6d | 70 74 53 74 72 69 6e 67 |,theProm|ptString|
|000058e0| 2c 22 22 2c 61 6e 79 44 | 65 66 61 75 6c 74 54 65 |,"",anyD|efaultTe|
|000058f0| 78 74 2c 2c 32 36 35 2c | 32 35 0d 70 75 74 20 74 |xt,,265,|25.put t|
|00005900| 68 65 20 72 65 73 75 6c | 74 20 69 6e 74 6f 20 74 |he resul|t into t|
|00005910| 68 65 52 65 73 75 6c 74 | 0d 64 6f 44 69 73 61 62 |heResult|.doDisab|
|00005920| 6c 65 45 64 69 74 6f 72 | 73 0d 65 6e 64 20 77 69 |leEditor|s.end wi|
|00005930| 74 68 44 69 61 6c 6f 67 | 50 72 6f 6d 70 74 0d 0d |thDialog|Prompt..|
|00005940| 6f 6e 20 77 69 74 68 44 | 69 61 6c 6f 67 53 74 6f |on withD|ialogSto|
|00005950| 70 20 74 68 65 57 61 72 | 6e 69 6e 67 53 74 72 69 |p theWar|ningStri|
|00005960| 6e 67 0d 67 6c 6f 62 61 | 6c 20 74 68 65 52 65 73 |ng.globa|l theRes|
|00005970| 75 6c 74 0d 62 65 65 70 | 20 31 0d 53 68 6f 77 44 |ult.beep| 1.ShowD|
|00005980| 69 61 6c 6f 67 20 31 2c | 31 30 31 33 30 2c 74 68 |ialog 1,|10130,th|
|00005990| 65 57 61 72 6e 69 6e 67 | 53 74 72 69 6e 67 2c 74 |eWarning|String,t|
|000059a0| 72 75 65 2c 34 30 2c 36 | 30 0d 65 6e 64 20 77 69 |rue,40,6|0.end wi|
|000059b0| 74 68 44 69 61 6c 6f 67 | 53 74 6f 70 0d 0d 6f 6e |thDialog|Stop..on|
|000059c0| 20 77 69 74 68 44 69 61 | 6c 6f 67 57 61 72 6e 20 | withDia|logWarn |
|000059d0| 74 68 65 57 61 72 6e 69 | 6e 67 53 74 72 69 6e 67 |theWarni|ngString|
|000059e0| 0d 67 6c 6f 62 61 6c 20 | 74 68 65 52 65 73 75 6c |.global |theResul|
|000059f0| 74 0d 62 65 65 70 20 31 | 0d 53 68 6f 77 44 69 61 |t.beep 1|.ShowDia|
|00005a00| 6c 6f 67 20 31 2c 31 30 | 31 32 38 2c 74 68 65 57 |log 1,10|128,theW|
|00005a10| 61 72 6e 69 6e 67 53 74 | 72 69 6e 67 2c 74 72 75 |arningSt|ring,tru|
|00005a20| 65 2c 34 30 2c 36 30 0d | 70 75 74 20 74 68 65 20 |e,40,60.|put the |
|00005a30| 72 65 73 75 6c 74 20 69 | 6e 74 6f 20 74 68 65 52 |result i|nto theR|
|00005a40| 65 73 75 6c 74 0d 65 6e | 64 20 77 69 74 68 44 69 |esult.en|d withDi|
|00005a50| 61 6c 6f 67 57 61 72 6e | 0d 0d 0d 2d 2d 20 2a 2a |alogWarn|...-- **|
|00005a60| 2a 2a 2a 2a 20 66 6c 61 | 73 68 65 72 73 20 2a 2a |**** fla|shers **|
|00005a70| 2a 2a 2a 2a 0d 0d 6f 6e | 20 66 6c 61 73 68 57 6f |****..on| flashWo|
|00005a80| 72 64 0d 73 65 6c 65 63 | 74 20 74 68 65 20 63 6c |rd.selec|t the cl|
|00005a90| 69 63 6b 43 68 75 6e 6b | 0d 73 65 6c 65 63 74 20 |ickChunk|.select |
|00005aa0| 65 6d 70 74 79 0d 65 6e | 64 20 66 6c 61 73 68 57 |empty.en|d flashW|
|00005ab0| 6f 72 64 0d 0d 6f 6e 20 | 66 6c 61 73 68 4c 69 6e |ord..on |flashLin|
|00005ac0| 65 0d 73 65 6c 65 63 74 | 20 74 68 65 20 63 6c 69 |e.select| the cli|
|00005ad0| 63 6b 4c 69 6e 65 0d 73 | 65 6c 65 63 74 20 65 6d |ckLine.s|elect em|
|00005ae0| 70 74 79 0d 65 6e 64 20 | 66 6c 61 73 68 4c 69 6e |pty.end |flashLin|
|00005af0| 65 0d 0d 0d 2d 2d 20 2a | 2a 2a 2a 2a 2a 20 73 68 |e...-- *|***** sh|
|00005b00| 6f 77 4c 6f 67 20 2a 2a | 2a 2a 2a 0d 0d 6f 6e 20 |owLog **|***..on |
|00005b10| 73 68 6f 77 4c 6f 67 20 | 74 68 65 4c 6f 67 54 6f |showLog |theLogTo|
|00005b20| 53 68 6f 77 2c 20 74 68 | 65 4c 69 6e 65 54 6f 53 |Show, th|eLineToS|
|00005b30| 68 6f 77 0d 67 6c 6f 62 | 61 6c 20 74 68 65 4c 6f |how.glob|al theLo|
|00005b40| 67 2c 20 70 68 2c 20 7a | 0d 6c 6f 63 6b 20 73 63 |g, ph, z|.lock sc|
|00005b50| 72 65 65 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |reen.rep|eat with|
|00005b60| 20 78 20 3d 20 31 20 74 | 6f 20 37 0d 68 69 64 65 | x = 1 t|o 7.hide|
|00005b70| 20 63 61 72 64 20 66 69 | 65 6c 64 20 78 0d 65 6e | card fi|eld x.en|
|00005b80| 64 20 72 65 70 65 61 74 | 0d 73 68 6f 77 20 63 61 |d repeat|.show ca|
|00005b90| 72 64 20 66 69 65 6c 64 | 20 74 68 65 4c 6f 67 54 |rd field| theLogT|
|00005ba0| 6f 53 68 6f 77 0d 73 65 | 6c 65 63 74 20 6c 69 6e |oShow.se|lect lin|
|00005bb0| 65 20 74 68 65 4c 69 6e | 65 54 6f 53 68 6f 77 20 |e theLin|eToShow |
|00005bc0| 6f 66 20 62 75 74 74 6f | 6e 20 22 43 68 6f 73 65 |of butto|n "Chose|
|00005bd0| 6e 20 4c 6f 67 22 0d 67 | 65 74 46 72 6f 6e 74 46 |n Log".g|etFrontF|
|00005be0| 69 65 6c 64 0d 67 65 74 | 50 61 67 65 48 65 69 67 |ield.get|PageHeig|
|00005bf0| 68 74 0d 67 65 74 54 65 | 78 74 48 65 69 67 68 74 |ht.getTe|xtHeight|
|00005c00| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 65 |.unlock |screen.e|
|00005c10| 6e 64 20 73 68 6f 77 4c | 6f 67 0d 0d 0d 2d 2d 20 |nd showL|og...-- |
|00005c20| 2a 2a 2a 2a 2a 2a 20 70 | 6c 61 79 46 6c 75 74 65 |****** p|layFlute|
|00005c30| 20 2a 2a 2a 2a 2a 2a 0d | 0d 6f 6e 20 70 6c 61 79 | ******.|.on play|
|00005c40| 46 6c 75 74 65 0d 70 6c | 61 79 20 22 66 6c 75 74 |Flute.pl|ay "flut|
|00005c50| 65 22 20 22 65 62 33 74 | 22 0d 65 6e 64 20 70 6c |e" "eb3t|".end pl|
|00005c60| 61 79 46 6c 75 74 65 0d | 0d 0d 2d 2d 20 2a 2a 2a |ayFlute.|..-- ***|
|00005c70| 2a 2a 2a 20 63 68 65 63 | 6b 54 68 65 52 65 73 75 |*** chec|kTheResu|
|00005c80| 6c 74 4c 65 6e 67 74 68 | 20 2a 2a 2a 2a 2a 2a 0d |ltLength| ******.|
|00005c90| 0d 6f 6e 20 63 68 65 63 | 6b 54 68 65 52 65 73 75 |.on chec|kTheResu|
|00005ca0| 6c 74 4c 65 6e 67 74 68 | 0d 67 6c 6f 62 61 6c 20 |ltLength|.global |
|00005cb0| 74 68 65 52 65 73 75 6c | 74 2c 20 73 68 6f 72 74 |theResul|t, short|
|00005cc0| 45 6e 6f 75 67 68 2c 20 | 74 65 6d 70 53 74 6f 72 |Enough, |tempStor|
|00005cd0| 61 67 65 0d 70 75 74 20 | 74 68 65 52 65 73 75 6c |age.put |theResul|
|00005ce0| 74 20 69 6e 74 6f 20 74 | 65 6d 70 53 74 6f 72 61 |t into t|empStora|
|00005cf0| 67 65 0d 69 66 20 74 68 | 65 20 6c 65 6e 67 74 68 |ge.if th|e length|
|00005d00| 20 6f 66 20 74 68 65 52 | 65 73 75 6c 74 20 3e 20 | of theR|esult > |
|00005d10| 31 32 34 20 74 68 65 6e | 0d 70 75 74 20 66 61 6c |124 then|.put fal|
|00005d20| 73 65 20 69 6e 74 6f 20 | 73 68 6f 72 74 45 6e 6f |se into |shortEno|
|00005d30| 75 67 68 0d 70 75 74 20 | 74 68 65 20 6c 65 6e 67 |ugh.put |the leng|
|00005d40| 74 68 20 6f 66 20 74 68 | 65 52 65 73 75 6c 74 20 |th of th|eResult |
|00005d50| 69 6e 74 6f 20 78 0d 70 | 75 74 20 78 20 2d 20 31 |into x.p|ut x - 1|
|00005d60| 32 34 20 69 6e 74 6f 20 | 78 0d 70 75 74 20 22 54 |24 into |x.put "T|
|00005d70| 68 65 20 65 6e 74 72 79 | 20 69 73 22 20 26 26 20 |he entry| is" && |
|00005d80| 78 20 26 26 c2 0d 22 63 | 68 61 72 61 63 74 65 72 |x &&.."c|haracter|
|00005d90| 28 73 29 20 74 6f 6f 20 | 6c 6f 6e 67 2e 22 20 26 |(s) too |long." &|
|00005da0| 26 c2 0d 22 4c 69 6d 69 | 74 20 79 6f 75 72 20 65 |&.."Limi|t your e|
|00005db0| 6e 74 72 69 65 73 20 74 | 6f 20 74 68 72 65 65 20 |ntries t|o three |
|00005dc0| 6c 69 6e 65 73 20 6f 66 | 20 74 68 65 20 64 69 61 |lines of| the dia|
|00005dd0| 6c 6f 67 20 62 6f 78 2e | 22 c2 0d 69 6e 74 6f 20 |log box.|"..into |
|00005de0| 65 78 69 74 45 6e 74 72 | 79 0d 77 69 74 68 44 69 |exitEntr|y.withDi|
|00005df0| 61 6c 6f 67 53 74 6f 70 | 20 65 78 69 74 45 6e 74 |alogStop| exitEnt|
|00005e00| 72 79 0d 65 6c 73 65 20 | 70 75 74 20 74 72 75 65 |ry.else |put true|
|00005e10| 20 69 6e 74 6f 20 73 68 | 6f 72 74 45 6e 6f 75 67 | into sh|ortEnoug|
|00005e20| 68 0d 65 6e 64 20 63 68 | 65 63 6b 54 68 65 52 65 |h.end ch|eckTheRe|
|00005e30| 73 75 6c 74 4c 65 6e 67 | 74 68 0d 0d 0d 2d 2d 20 |sultLeng|th...-- |
|00005e40| 2a 2a 2a 2a 2a 2a 20 64 | 75 70 6c 69 63 61 74 65 |****** d|uplicate|
|00005e50| 46 6f 75 6e 64 20 2a 2a | 2a 2a 2a 0d 0d 6f 6e 20 |Found **|***..on |
|00005e60| 64 75 70 6c 69 63 61 74 | 65 46 6f 75 6e 64 0d 67 |duplicat|eFound.g|
|00005e70| 6c 6f 62 61 6c 20 65 78 | 69 74 45 6e 74 72 79 0d |lobal ex|itEntry.|
|00005e80| 70 75 74 20 22 54 68 69 | 73 20 65 6e 74 72 79 20 |put "Thi|s entry |
|00005e90| 61 6c 72 65 61 64 79 20 | 65 78 69 73 74 73 2e 22 |already |exists."|
|00005ea0| c2 0d 69 6e 74 6f 20 65 | 78 69 74 45 6e 74 72 79 |..into e|xitEntry|
|00005eb0| 0d 77 69 74 68 44 69 61 | 6c 6f 67 53 74 6f 70 20 |.withDia|logStop |
|00005ec0| 65 78 69 74 45 6e 74 72 | 79 0d 65 6e 64 20 64 75 |exitEntr|y.end du|
|00005ed0| 70 6c 69 63 61 74 65 46 | 6f 75 6e 64 0d 0d 0d 2d |plicateF|ound...-|
|00005ee0| 2d 20 2a 2a 2a 2a 2a 2a | 20 73 61 79 4f 6e 6c 79 |- ******| sayOnly|
|00005ef0| 4f 6e 65 4c 69 6e 65 20 | 2a 2a 2a 2a 2a 2a 0d 0d |OneLine |******..|
|00005f00| 6f 6e 20 73 61 79 4f 6e | 6c 79 4f 6e 65 4c 69 6e |on sayOn|lyOneLin|
|00005f10| 65 0d 67 6c 6f 62 61 6c | 20 74 68 65 52 65 73 75 |e.global| theResu|
|00005f20| 6c 74 0d 70 75 74 20 22 | 4f 6e 6c 79 20 6f 6e 65 |lt.put "|Only one|
|00005f30| 20 6c 69 6e 65 20 6f 66 | 22 20 26 26 20 71 75 6f | line of|" && quo|
|00005f40| 74 65 20 26 20 74 68 65 | 52 65 73 75 6c 74 20 26 |te & the|Result &|
|00005f50| 20 71 75 6f 74 65 20 26 | 26 20 22 66 6f 75 6e 64 | quote &|& "found|
|00005f60| 2e 22 c2 0d 69 6e 74 6f | 20 74 68 65 4d 65 73 73 |."..into| theMess|
|00005f70| 61 67 65 0d 77 69 74 68 | 44 69 61 6c 6f 67 53 74 |age.with|DialogSt|
|00005f80| 6f 70 20 74 68 65 4d 65 | 73 73 61 67 65 0d 65 6e |op theMe|ssage.en|
|00005f90| 64 20 73 61 79 4f 6e 6c | 79 4f 6e 65 4c 69 6e 65 |d sayOnl|yOneLine|
|00005fa0| 0d 0d 0d 2d 2d 20 2a 2a | 2a 2a 2a 2a 20 73 74 79 |...-- **|**** sty|
|00005fb0| 6c 69 6e 67 20 6f 72 67 | 61 6e 69 7a 65 72 20 61 |ling org|anizer a|
|00005fc0| 74 20 6f 70 65 6e 53 74 | 61 63 6b 20 2a 2a 2a 2a |t openSt|ack ****|
|00005fd0| 2a 2a 0d 0d 6f 6e 20 64 | 6f 46 6f 6e 74 53 74 79 |**..on d|oFontSty|
|00005fe0| 6c 65 53 69 7a 65 0d 67 | 6c 6f 62 61 6c 20 74 68 |leSize.g|lobal th|
|00005ff0| 65 4c 6f 67 2c 20 70 68 | 2c 20 7a 0d 70 75 74 20 |eLog, ph|, z.put |
|00006000| 74 68 65 20 74 65 78 74 | 46 6f 6e 74 20 6f 66 20 |the text|Font of |
|00006010| 63 64 20 66 69 65 6c 64 | 20 22 41 6c 6c 22 20 69 |cd field| "All" i|
|00006020| 6e 74 6f 20 74 68 65 53 | 74 61 72 74 46 6f 6e 74 |nto theS|tartFont|
|00006030| 0d 70 75 74 20 74 68 65 | 20 74 65 78 74 53 74 79 |.put the| textSty|
|00006040| 6c 65 20 6f 66 20 63 64 | 20 66 69 65 6c 64 20 22 |le of cd| field "|
|00006050| 41 6c 6c 22 20 69 6e 74 | 6f 20 74 68 65 53 74 61 |All" int|o theSta|
|00006060| 72 74 53 74 79 6c 65 0d | 70 75 74 20 74 68 65 20 |rtStyle.|put the |
|00006070| 74 65 78 74 53 69 7a 65 | 20 6f 66 20 63 64 20 66 |textSize| of cd f|
|00006080| 69 65 6c 64 20 22 41 6c | 6c 22 20 69 6e 74 6f 20 |ield "Al|l" into |
|00006090| 74 68 65 53 74 61 72 74 | 53 69 7a 65 0d 64 6f 4d |theStart|Size.doM|
|000060a0| 65 6e 75 20 74 68 65 53 | 74 61 72 74 46 6f 6e 74 |enu theS|tartFont|
|000060b0| 0d 64 6f 4d 65 6e 75 20 | 74 68 65 53 74 61 72 74 |.doMenu |theStart|
|000060c0| 53 69 7a 65 0d 72 65 70 | 65 61 74 20 77 69 74 68 |Size.rep|eat with|
|000060d0| 20 78 20 3d 20 31 20 74 | 6f 20 6e 75 6d 62 65 72 | x = 1 t|o number|
|000060e0| 20 6f 66 20 69 74 65 6d | 73 20 69 6e 20 74 68 65 | of item|s in the|
|000060f0| 53 74 61 72 74 53 74 79 | 6c 65 0d 70 75 74 20 69 |StartSty|le.put i|
|00006100| 74 65 6d 20 78 20 6f 66 | 20 74 68 65 53 74 61 72 |tem x of| theStar|
|00006110| 74 53 74 79 6c 65 20 69 | 6e 74 6f 20 6f 6e 65 53 |tStyle i|nto oneS|
|00006120| 74 79 6c 65 0d 64 6f 4d | 65 6e 75 20 6f 6e 65 53 |tyle.doM|enu oneS|
|00006130| 74 79 6c 65 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |tyle.end| repeat.|
|00006140| 65 6e 64 20 64 6f 46 6f | 6e 74 53 74 79 6c 65 53 |end doFo|ntStyleS|
|00006150| 69 7a 65 0d 0d 0d 2d 2d | 20 2a 2a 2a 2a 2a 2a 20 |ize...--| ****** |
|00006160| 6e 6f 4d 65 73 73 61 67 | 65 42 6f 78 20 2a 2a 2a |noMessag|eBox ***|
|00006170| 2a 2a 2a 0d 0d 6f 6e 20 | 6e 6f 4d 65 73 73 61 67 |***..on |noMessag|
|00006180| 65 42 6f 78 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |eBox.loc|k screen|
|00006190| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|000061a0| 4d 65 73 73 61 67 65 20 | 62 6f 78 0d 68 69 64 65 |Message |box.hide|
|000061b0| 20 4d 65 73 73 61 67 65 | 20 62 6f 78 0d 65 6e 64 | Message| box.end|
|000061c0| 20 6e 6f 4d 65 73 73 61 | 67 65 42 6f 78 0d 0d 0d | noMessa|geBox...|
|000061d0| 2d 2d 20 2a 2a 2a 2a 2a | 2a 20 62 75 73 79 20 68 |-- *****|* busy h|
|000061e0| 61 6e 64 6c 65 72 73 20 | 2a 2a 2a 2a 2a 2a 0d 0d |andlers |******..|
|000061f0| 6f 6e 20 76 65 72 79 42 | 75 73 79 0d 73 65 74 20 |on veryB|usy.set |
|00006200| 6c 6f 63 6b 53 63 72 65 | 65 6e 20 74 6f 20 74 72 |lockScre|en to tr|
|00006210| 75 65 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ue.set c|ursor to|
|00006220| 20 62 75 73 79 0d 65 6e | 64 20 76 65 72 79 42 75 | busy.en|d veryBu|
|00006230| 73 79 0d 0d 6f 6e 20 62 | 75 73 79 43 75 72 73 6f |sy..on b|usyCurso|
|00006240| 72 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |r.set cu|rsor to |
|00006250| 62 75 73 79 0d 65 6e 64 | 20 62 75 73 79 43 75 72 |busy.end| busyCur|
|00006260| 73 6f 72 0d 0d 6f 6e 20 | 6e 6f 74 56 65 72 79 42 |sor..on |notVeryB|
|00006270| 75 73 79 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |usy.set |cursor t|
|00006280| 6f 20 22 68 61 6e 64 22 | 0d 75 6e 6c 6f 63 6b 20 |o "hand"|.unlock |
|00006290| 73 63 72 65 65 6e 0d 65 | 6e 64 20 6e 6f 74 56 65 |screen.e|nd notVe|
|000062a0| 72 79 42 75 73 79 0d 0d | 0d 2d 2d 20 2a 2a 2a 2a |ryBusy..|.-- ****|
|000062b0| 2a 2a 20 67 65 74 46 72 | 6f 6e 74 46 69 65 6c 64 |** getFr|ontField|
|000062c0| 2c 20 67 65 74 50 61 67 | 65 48 65 69 67 68 74 2c |, getPag|eHeight,|
|000062d0| 20 67 65 74 54 65 78 74 | 48 65 69 67 68 74 2c 20 | getText|Height, |
|000062e0| 74 6f 74 61 6c 53 63 72 | 6f 6c 6c 20 2a 2a 2a 2a |totalScr|oll ****|
|000062f0| 2a 2a 0d 0d 6f 6e 20 67 | 65 74 46 72 6f 6e 74 46 |**..on g|etFrontF|
|00006300| 69 65 6c 64 0d 67 6c 6f | 62 61 6c 20 74 68 65 4c |ield.glo|bal theL|
|00006310| 6f 67 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 78 |og.repea|t with x|
|00006320| 20 3d 20 31 20 74 6f 20 | 38 0d 67 65 74 20 74 68 | = 1 to |8.get th|
|00006330| 65 20 76 69 73 69 62 6c | 65 20 6f 66 20 63 64 20 |e visibl|e of cd |
|00006340| 66 69 65 6c 64 20 78 0d | 69 66 20 69 74 20 69 73 |field x.|if it is|
|00006350| 20 74 72 75 65 20 74 68 | 65 6e 0d 70 75 74 20 78 | true th|en.put x|
|00006360| 20 69 6e 74 6f 20 74 68 | 65 4c 6f 67 0d 65 78 69 | into th|eLog.exi|
|00006370| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |t repeat|.end if.|
|00006380| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 67 |end repe|at.end g|
|00006390| 65 74 46 72 6f 6e 74 46 | 69 65 6c 64 0d 0d 6f 6e |etFrontF|ield..on|
|000063a0| 20 67 65 74 50 61 67 65 | 48 65 69 67 68 74 0d 67 | getPage|Height.g|
|000063b0| 6c 6f 62 61 6c 20 74 68 | 65 4c 6f 67 2c 20 70 68 |lobal th|eLog, ph|
|000063c0| 0d 70 75 74 20 68 65 69 | 67 68 74 20 6f 66 20 63 |.put hei|ght of c|
|000063d0| 64 20 66 69 65 6c 64 20 | 74 68 65 4c 6f 67 20 69 |d field |theLog i|
|000063e0| 6e 74 6f 20 66 68 0d 70 | 75 74 20 74 65 78 74 48 |nto fh.p|ut textH|
|000063f0| 65 69 67 68 74 20 6f 66 | 20 63 64 20 66 69 65 6c |eight of| cd fiel|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.